Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.plugin.authn
Interface AuthenticationContext

All Superinterfaces:
PluginContext

public interface AuthenticationContext
extends PluginContext

AuthenticationContext will contain the execution context information for authentication plug-ins. During the plug-in execution AuthenticationContext implementation wil be passed to the process method of Plug-in from the authentication engine.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Method Summary
 AccessConstants.AUTH_CLASS getAuthenticationClass()
           
 AuthnModuleConfig getAuthnModuleConfig()
          Gets the AuthnModuleConfig object.
 Credential getCredential()
          Get credential for the authentication.
 javax.security.auth.Subject getSubject()
          Retrieves a Subject from the authentication context.
 void setAuthenticationClass(AccessConstants.AUTH_CLASS authClass)
          Returns the Authentication CLASS that can be used to obtain the type of authentication method used by the module.
 void setAuthnModuleConfig(AuthnModuleConfig config)
          Sets the code>AuthnModuleConfig object.
 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, getAllResponses, getClientIPAddress, getClientProfile, getErrorCode, getExceptionList, getIdentityStoreContext, getImplType, getObjectAttribute, getObjectMap, getResponse, getResponses, getSession, getStringAttribute, getStringMap, getTransportContext, setObjectAttribute, setStringAttribute

 

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 Credential) object.

getAuthnModuleConfig

AuthnModuleConfig getAuthnModuleConfig()
Gets the AuthnModuleConfig object. AuthnModuleConfig object will contain the authentication module configuration details.
Returns:
AuthnModuleConfig object.

setAuthnModuleConfig

void setAuthnModuleConfig(AuthnModuleConfig config)
Sets the code>AuthnModuleConfig object. AuthnModuleConfig object will contain the authentication module configuration details.
Parameters:
config -

getAuthenticationClass

AccessConstants.AUTH_CLASS getAuthenticationClass()
Returns:
AccessConstants.AUTH_CLASS object. The value will be one of PASSWORD, CERT, KERBEROS, UNSPECIFIED;

setAuthenticationClass

void setAuthenticationClass(AccessConstants.AUTH_CLASS authClass)
Returns the Authentication CLASS that can be used to obtain the type of authentication method used by the module.
Parameters:
authClass - a AccessConstants.AUTH_CLASS object.

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.