|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
AuthResponse defines the interface to an Authentication Response corresponding to an AuthRequest to a Cafesoft SecurityDomain's Authentication Engine.
| Field Summary | |
static int |
RC_CALLBACK_HANDLER_ERROR
Reason Code : The CallbackHandler had an error |
static int |
RC_GENERAL_SERVER_ERROR
Reason Code: General Server Error, probably due to a misconfiguration. |
static int |
RC_INVALID_REMOTE_HOST_NAME
Reason Code: The remote host name is not valid. |
static int |
RC_INVALID_REMOTE_IP_ADDRESS
Reason Code: The remote host IP address is not valid. |
static int |
RC_LOGIN_ERROR
Reason Code : An unrecoverable error occurred during login. |
static int |
RC_LOGIN_FAILED
Reason Code : The attempted login failed due to incomplete or invalid credentials |
static int |
RC_NOT_APPLICABLE
Reason Code: Not Applicable (because authentication is pending) |
static int |
RC_UNAUTHORIZED_AGENT
Reason Code: The agent making the access request is not authorized. |
static int |
RC_UNKNOWN_LOGIN_CONFIG
Reason Code: An unknown login configuration was referenced. |
static int |
RC_UNKNOWN_SECURITY_DOMAIN
Reason Code: An unknown security domain was referenced. |
static int |
SC_FAILED
Status Code indicating that authentication failed. |
static int |
SC_PENDING
Status Code indicating that authentication is in progress. |
static int |
SC_SUCCESS
Status Code indicating that authentication succeeded. |
| Method Summary | |
Map |
getLoginParameters()
Get the login parameters if any exist. |
String |
getMessage()
Get the message. |
int |
getReason()
Get the Reason code. |
SessionId |
getSessionId()
Get the Session ID. |
int |
getStatus()
Get the status code. |
void |
log(Logger logger)
Logs the data contained in this response to the specified logger. |
| Field Detail |
public static final int SC_PENDING
public static final int SC_SUCCESS
public static final int SC_FAILED
public static final int RC_NOT_APPLICABLE
public static final int RC_GENERAL_SERVER_ERROR
public static final int RC_INVALID_REMOTE_IP_ADDRESS
public static final int RC_INVALID_REMOTE_HOST_NAME
public static final int RC_UNAUTHORIZED_AGENT
public static final int RC_UNKNOWN_SECURITY_DOMAIN
public static final int RC_UNKNOWN_LOGIN_CONFIG
public static final int RC_LOGIN_FAILED
public static final int RC_LOGIN_ERROR
public static final int RC_CALLBACK_HANDLER_ERROR
| Method Detail |
public int getStatus()
public int getReason()
public String getMessage()
public SessionId getSessionId()
public Map getLoginParameters()
public void log(Logger logger)
logger - logs data
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||