|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalAuthResponse
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_EXPIRED_ACCOUNT, RC_EXPIRED_CREDENTIAL, 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 | |
|---|---|
void |
finalizeObligations(ObligationListFinalizer[] obListFinalizer)
Finalize the response's Obligations. |
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 |
|---|
addObligation, getLoginParameters, getMessage, getObligationCount, getObligations, getReason, getSessionId, getStatus, log |
| Method Detail |
|---|
void setStatus(int status)
status - the status code.void setReason(int reason)
reason - a code indicating why access is denied.void setMessage(String message)
message - a message, usually used to convey error information
if access is denied.void setSessionId(SessionId sessionId)
sessionId - the Session ID associated with the successful
authentication.void setLoginParameters(Map loginParameters)
loginParameters - the new Map of login parametersSubject getSubject()
void setSubject(Subject subject)
subject - the successfully authenticated Subject.void finalizeObligations(ObligationListFinalizer[] obListFinalizer)
obListFinalizer - an array of ObligationListFinalizer instances.
Each ObligationListFinalizer is invoked (in order) on the resulting
List of Obligation instances. If null or zero-length, then
ObligationListFinalizers are not invoked.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||