Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


oracle.security.am.plugin.authn
Interface AuthenticationContext

All Superinterfaces:
PluginAttribute, PluginContext

public interface AuthenticationContext
extends PluginContext
Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.2.1.0

Field Summary

 

Fields inherited from interface oracle.security.am.plugin.PluginAttribute
KEY_TAG

 

Method Summary
 oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS getAuthenticationClass()
          returns the AUTH_CLASS used for authentication.
 AuthnModuleConfig getAuthnModuleConfig()
          Gets the AuthnModuleConfig object defined for the plug in.
 oracle.security.am.plugin.authn.PluginAuthnScheme getAuthnScheme()
          Returns the authentication scheme that initiated the authentication process.
 Credential getCredential()
          Get credential for the authentication.
 java.lang.String getResourceURL()
          Returns the URL that is requested by the user.
 javax.security.auth.Subject getSubject()
          Retrieves a Subject from the authentication context.
 void setAuthenticationClass(oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS authClass)
          Sets the AccessConstants.AUTH_CLASS object used for authentication.
 void setAuthnModuleConfig(AuthnModuleConfig config)
          Sets the AuthnModuleConfig object to the context.
 void setSubject(javax.security.auth.Subject subject)
          sets a subject to the authentication context.

 

Methods inherited from interface oracle.security.am.plugin.PluginContext
addErrorCode, addException, addResponse, getAction, getAllResponses, getClientIPAddress, getClientProfile, getErrorCode, getExceptionList, getIdentityStoreContext, getImplType, getObjectAttribute, getObjectMap, getResponse, getResponses, getSession, getStartingStep, getStringAttribute, getStringMap, getTransportContext, removeResponse, removeResponse, setAction, setObjectAttribute, setStartingStep, setStringAttribute

 

Methods inherited from interface oracle.security.am.plugin.PluginAttribute
fromString, getKeyName, getObjName, setKeyName, toStringForm

 

Method Detail

setSubject

void setSubject(javax.security.auth.Subject subject)
sets a subject to the authentication context.
Parameters:
subject - Subject

getSubject

javax.security.auth.Subject getSubject()
Retrieves a Subject from 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 oracle.security.am.plugin.authn.Credential) object.

getAuthnModuleConfig

AuthnModuleConfig getAuthnModuleConfig()
Gets the AuthnModuleConfig object defined for the plug in.
Returns:
AuthnModuleConfig object

setAuthnModuleConfig

void setAuthnModuleConfig(AuthnModuleConfig config)
Sets the AuthnModuleConfig object to the context.
Parameters:
config - a AuthnModuleConfig object

getAuthenticationClass

oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS getAuthenticationClass()
returns the AUTH_CLASS used for authentication.
Returns:
a AccessConstants.AUTH_CLASS object.

setAuthenticationClass

void setAuthenticationClass(oracle.security.am.common.policy.runtime.AccessConstants.AUTH_CLASS authClass)
Sets the AccessConstants.AUTH_CLASS object used for authentication. This defines the type of authentication performed.
Parameters:
authClass - a AccessConstants.AUTH_CLASS object

getResourceURL

java.lang.String getResourceURL()
Returns the URL that is requested by the user.
Returns:
String value

getAuthnScheme

oracle.security.am.plugin.authn.PluginAuthnScheme getAuthnScheme()
Returns the authentication scheme that initiated the authentication process. Configuration parameters for authentication scheme will be available through PluginAuthnScheme object.

Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


Copyright © 2013, Oracle Corp. All Rights Reserved.