|
|||||||||||
| 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 |
| Fields inherited from interface com.cafesoft.cams.auth.AuthResponse |
RC_CALLBACK_HANDLER_ERROR, RC_GENERAL_SERVER_ERROR, RC_INVALID_REMOTE_HOST_NAME, RC_INVALID_REMOTE_IP_ADDRESS, RC_LOGIN_ERROR, RC_LOGIN_FAILED, RC_NOT_APPLICABLE, RC_UNAUTHORIZED_AGENT, RC_UNKNOWN_LOGIN_CONFIG, RC_UNKNOWN_SECURITY_DOMAIN, SC_FAILED, SC_PENDING, SC_SUCCESS |
| Method Summary | |
Subject |
getSubject()
Get the Subject. |
void |
setLoginParameters(Map loginParameters)
Set the login parameters map |
void |
setMessage(String message)
Set the message. |
void |
setReason(int reason)
Set the reason code. |
void |
setSessionId(SessionId sessionId)
Set the Session ID. |
void |
setStatus(int status)
Set the status code. |
void |
setSubject(Subject subject)
Set the Subject. |
| Methods inherited from interface com.cafesoft.cams.auth.AuthResponse |
getLoginParameters, getMessage, getReason, getSessionId, getStatus, log |
| Method Detail |
public void setStatus(int status)
status - the status code.public void setReason(int reason)
reason - a code indicating why access is denied.public void setMessage(String message)
message - a message, usually used to convey error information
if access is denied.public void setSessionId(SessionId sessionId)
public void setLoginParameters(Map loginParameters)
loginParameters - the new Map of login parameterspublic Subject getSubject()
public void setSubject(Subject subject)
subject - the successfully authenticated Subject.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||