Retrieves user password information.
am_auth_password_callback_t is a C implementation of the Java javax.security.auth.callback.PasswordCallback class.
#include "am_auth.h"
typedef struct am_auth_password_callback_info {
const char *prompt;
boolean_t echo_on;
const char *response; /* password */
} am_auth_password_callback_t;
Pointer to the user's prompt.
Takes a value based on the boolean_t defined in the <am_types.h> header file. Set to B_TRUE to display the password as it is typed.
Pointer to the password submitted back to OpenSSO Enterprise.
Memory 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.