Package oracle.security.am.plugin.authn
Interface AuthenticationContext
- All Superinterfaces:
PluginAttribute,PluginContext
- All Known Implementing Classes:
AbstractAuthnContext,AuthnContext
- Since:
- OAM 11.1.1.2.0
-
Field Summary
Fields inherited from interface oracle.security.am.plugin.PluginAttribute
KEY_TAG -
Method Summary
Modifier and TypeMethodDescriptionoracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASSReturns the authentication scheme that initiated the authentication process.Get credential for the authentication.Get the Proxy host configuration for external communicationGet the Proxy port configuration for external communicationRetrieves aSubjectfrom the authentication context.voidsetAuthenticationClass<wbr>(oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS authClass)voidsetAuthnModuleConfig<wbr>(AuthnModuleConfig config)voidsetSubject<wbr>(Subject subject)sets a subject to the authentication context.Methods inherited from interface oracle.security.am.plugin.PluginAttribute
fromString, getKeyName, getObjName, setKeyName, toStringFormMethods inherited from interface oracle.security.am.plugin.PluginContext
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
-
Method Details
-
setSubject
sets a subject to the authentication context.- Parameters:
subject-Subject
-
getSubject
Subject getSubject()Retrieves aSubjectfrom the authentication context. If the subject is not available the method will return null.- Returns:
- the subject
-
getCredential
Credential getCredential()Get credential for the authentication.- Returns:
- a {@link Credential) object.
-
getAuthnModuleConfig
AuthnModuleConfig getAuthnModuleConfig()- Returns:
-
setAuthnModuleConfig
- Parameters:
config-
-
getAuthenticationClass
oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS getAuthenticationClass() -
setAuthenticationClass
void setAuthenticationClass<wbr>(oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS authClass) -
getResourceURL
String getResourceURL() -
getAuthnScheme
PluginAuthnScheme getAuthnScheme()Returns the authentication scheme that initiated the authentication process. Configuration parameters for authetnication scheme will be available throughPluginAuthnSchemeobject. -
getHttpProxyHost
String getHttpProxyHost()Get the Proxy host configuration for external communication- Returns:
-
getHttpProxyPort
String getHttpProxyPort()Get the Proxy port configuration for external communication- Returns:
-