Package oracle.security.am.plugin.impl
Class AbstractAuthnContext
java.lang.Object
oracle.security.am.plugin.impl.AbstractPluginContext
oracle.security.am.plugin.impl.AbstractAuthnContext
- All Implemented Interfaces:
AuthenticationContext,PluginAttribute,PluginContext
- Direct Known Subclasses:
AuthnContext
public abstract class AbstractAuthnContext
extends AbstractPluginContext
implements AuthenticationContext
-
Field Summary
Fields inherited from interface oracle.security.am.plugin.PluginAttribute
KEY_TAG -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAuthnContext<wbr>(String clientIPAddress, ClientProfile clientProfile, AMSession session, PluginTransportContext transportContext, Credential credential)AbstractAuthnContext<wbr>(GenericTransportContext ctx, IdentityStoreContext idStore, Credential credential) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteStateAttribute<wbr>(String attributeName)Deletes the plugin state attribute that was set earlier.Returns the execution action that has been set in the authentication contextReturns all the plugin state attributes and their valuesGet the Proxy host configuration for external communicationGet the Proxy port configuration for external communicationreturns the implementation type of the plugin.Returns the starting step that has been set in the authentication contextgetStateAttribute<wbr>(String attributeName)Returns the pluginStateAttribute value or null if the state is not availablevoidsetAction<wbr>(ExecutionAction executionAction)Sets the execution action in the authentication contextvoidsetClientIPAddress<wbr>(String clientIPAddress)voidsetClientProfile<wbr>(ClientProfile clientProfile)voidsetCredential<wbr>(Credential credential)voidsetHttpProxyHost<wbr>(String httpProxyHost)voidsetHttpProxyPort<wbr>(String httpProxyPort)voidsetIdentityStoreContext<wbr>(IdentityStoreContext idStoreContext)voidsetSession<wbr>(AMSession session)voidsetStartingStep<wbr>(String startingStep)Sets the starting step in the authentication contextvoidsetStateAttribute<wbr>(String attributeName, Object attributeValue)Sets the plugin state that can be used across pluginsvoidsetTransportContext<wbr>(PluginTransportContext transportContext)Methods inherited from class oracle.security.am.plugin.impl.AbstractPluginContext
addErrorCode, addException, addResponse, getAllResponses, getClientIPAddress, getClientProfile, getErrorCode, getExceptionList, getIdentityStoreContext, getObjectAttribute, getObjectMap, getResponse, getResponses, getSession, getStringAttribute, getStringMap, getTransportContext, removeResponse, removeResponse, setObjectAttribute, setStringAttributeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface oracle.security.am.plugin.authn.AuthenticationContext
getAuthenticationClass, getAuthnModuleConfig, getAuthnScheme, getCredential, getResourceURL, getSubject, setAuthenticationClass, setAuthnModuleConfig, setSubjectMethods inherited from interface oracle.security.am.plugin.PluginAttribute
fromString, getKeyName, getObjName, setKeyName, toStringFormMethods inherited from interface oracle.security.am.plugin.PluginContext
addErrorCode, addException, addResponse, getAllResponses, getClientIPAddress, getClientProfile, getErrorCode, getExceptionList, getIdentityStoreContext, getObjectAttribute, getObjectMap, getResponse, getResponses, getSession, getStringAttribute, getStringMap, getTransportContext, removeResponse, removeResponse, setObjectAttribute, setStringAttribute
-
Constructor Details
-
AbstractAuthnContext
public AbstractAuthnContext() -
AbstractAuthnContext
public AbstractAuthnContext<wbr>(GenericTransportContext ctx, IdentityStoreContext idStore, Credential credential)- Parameters:
ctx-idStore-credential-
-
AbstractAuthnContext
public AbstractAuthnContext<wbr>(String clientIPAddress, ClientProfile clientProfile, AMSession session, PluginTransportContext transportContext, Credential credential)- Parameters:
clientIPAddress-clientProfile-session-transportContext-credential-
-
-
Method Details
-
setClientIPAddress
- Parameters:
clientIPAddress-
-
setClientProfile
- Parameters:
clientProfile-
-
setSession
- Parameters:
session-
-
setTransportContext
- Parameters:
transportContext-
-
setCredential
- Parameters:
credential-
-
setIdentityStoreContext
- Parameters:
idStoreContext-
-
getImplType
returns the implementation type of the plugin.- Specified by:
getImplTypein interfacePluginContext- Returns:
-
getStartingStep
Returns the starting step that has been set in the authentication context- Specified by:
getStartingStepin interfacePluginContext- Returns:
- startingStep
-
setStartingStep
Sets the starting step in the authentication context- Specified by:
setStartingStepin interfacePluginContext- Parameters:
startingStep-
-
getAction
Returns the execution action that has been set in the authentication context- Specified by:
getActionin interfacePluginContext- Returns:
- startingStep
-
setAction
Sets the execution action in the authentication context- Specified by:
setActionin interfacePluginContext- Parameters:
ExecutionAction-
-
setStateAttribute
Description copied from interface:PluginContextSets the plugin state that can be used across plugins- Specified by:
setStateAttributein interfacePluginContext- Parameters:
attributeName- : attributeName represents the name of the plugin stateattributeValue- : value to be stored in the state attribute
-
getStateAttribute
Description copied from interface:PluginContextReturns the pluginStateAttribute value or null if the state is not available- Specified by:
getStateAttributein interfacePluginContext- Parameters:
attributeName- : the name of the plugin state attribute
-
deleteStateAttribute
Description copied from interface:PluginContextDeletes the plugin state attribute that was set earlier. This will make the state unavailable for subsequent plugins.- Specified by:
deleteStateAttributein interfacePluginContext- Parameters:
attributeName- : the name of the plugin state attribute
-
getAllStateAttributes
Description copied from interface:PluginContextReturns all the plugin state attributes and their values- Specified by:
getAllStateAttributesin interfacePluginContext
-
getHttpProxyHost
Description copied from interface:AuthenticationContextGet the Proxy host configuration for external communication- Specified by:
getHttpProxyHostin interfaceAuthenticationContext- Returns:
-
setHttpProxyHost
-
getHttpProxyPort
Description copied from interface:AuthenticationContextGet the Proxy port configuration for external communication- Specified by:
getHttpProxyPortin interfaceAuthenticationContext- Returns:
-
setHttpProxyPort
-