public interface AuthenticationContext extends PluginContext
KEY_TAG
Modifier and Type | Method and Description |
---|---|
AccessConstants.AUTH_CLASS |
getAuthenticationClass() |
AuthnModuleConfig |
getAuthnModuleConfig() |
PluginAuthnScheme |
getAuthnScheme()
Returns the authentication scheme that initiated the
authentication process.
|
Credential |
getCredential()
Get credential for the authentication.
|
java.lang.String |
getResourceURL() |
javax.security.auth.Subject |
getSubject()
Retrieves a
Subject from the authentication context. |
void |
setAuthenticationClass(AccessConstants.AUTH_CLASS authClass) |
void |
setAuthnModuleConfig(AuthnModuleConfig config) |
void |
setSubject(javax.security.auth.Subject subject)
sets a subject to the authentication context.
|
addErrorCode, addException, addResponse, deleteStateAttribute, getAction, getAllResponses, getAllStateAttributes, getClientIPAddress, getClientProfile, getErrorCode, getExceptionList, getIdentityStoreContext, getImplType, getObjectAttribute, getObjectMap, getResponse, getResponses, getSession, getStartingStep, getStateAttribute, getStringAttribute, getStringMap, getTransportContext, removeResponse, removeResponse, setAction, setObjectAttribute, setStartingStep, setStateAttribute, setStringAttribute
fromString, getKeyName, getObjName, setKeyName, toStringForm
void setSubject(javax.security.auth.Subject subject)
subject
- Subject
javax.security.auth.Subject getSubject()
Subject
from the authentication context.
If the subject is not available the method will return null.Credential getCredential()
AuthnModuleConfig getAuthnModuleConfig()
void setAuthnModuleConfig(AuthnModuleConfig config)
config
- AccessConstants.AUTH_CLASS getAuthenticationClass()
void setAuthenticationClass(AccessConstants.AUTH_CLASS authClass)
java.lang.String getResourceURL()
PluginAuthnScheme getAuthnScheme()
PluginAuthnScheme
object.