Package org.forgerock.openig.openam
Class CdSsoFailureContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.openam.CdSsoFailureContext
- All Implemented Interfaces:
Context
Context
implementation to hold error details, should an error occur during cross-domain SSO authentication.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
CDSSO error indicating access denied.static final String
CDSSO error indicating invalid request.static final String
CDSSO error indicating invalid token.static final String
CDSSO error indicating server error.static final String
Error field name.static final String
Error description field name.static final String
Context
name.Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
Method Summary
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Field Details
-
NAME
Context
name.- See Also:
-
F_ERROR
Error field name.- See Also:
-
F_ERROR_DESCRIPTION
Error description field name.- See Also:
-
E_ACCESS_DENIED
CDSSO error indicating access denied.- See Also:
-
E_INVALID_REQUEST
CDSSO error indicating invalid request.- See Also:
-
E_INVALID_TOKEN
CDSSO error indicating invalid token.- See Also:
-
E_SERVER_ERROR
CDSSO error indicating server error.- See Also:
-
-
Method Details
-
getError
Get the CDSSO error that occurred.- Returns:
- the CDSSO error
-
getDescription
Get a description of the CDSSO error that occurred.- Returns:
- the CDSSO error description
-
getThrowable
Get theThrowable
associated with the CDSSO error that occurred. May be null.- Returns:
- the
Throwable
associated with the CDSSO error
-