Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers
Memory Concerns
Memory for the choices list is allocated by am_auth_login(), and freed by calling am_auth_destroy_auth_context().
Memory for the response must be allocated and freed by the caller.