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
Class Credential

java.lang.Object
  extended by oracle.security.am.plugin.authn.Credential

All Implemented Interfaces:
PluginAttribute

public class Credential
extends java.lang.Object
implements PluginAttribute

Credential object holds the credentials collected from the user. Each authentication module or authentication plug-in can add derived credentials to the object can be used by other modules.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.2.0.0

Field Summary
protected static java.lang.String OBJ_ID
           
protected static java.lang.String PARAM_MAP_PREFIX_TAG
           

 

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

 

Constructor Summary
Credential()
           

 

Method Summary
 void addCredentialParam(java.util.Map<java.lang.String,CredentialParam> paramMap)
          Adds a map of crenetial paramter objects to the Credential.
 void addCredentialParam(java.lang.String key, CredentialParam param)
          Adds a credential to the credential object.
 void addCredentialParamToGenericMap(java.lang.String key, CredentialParam param)
          Adds a credential to the credential object in the generic Map
 void fromString(java.lang.String token)
           
 java.util.Map<java.lang.String,CredentialParam> getGenericParamMap()
          returns the generic credential map.
 java.lang.String getKeyName()
           
 java.lang.String getObjName()
           
 CredentialParam getParam(java.lang.String key)
          Retrieves a credential by the key.
 java.util.Map<java.lang.String,CredentialParam> getParamMap()
          returns the credential map.
 void setKeyName(java.lang.String keyName)
           
 java.lang.String toStringForm()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

OBJ_ID

protected static final java.lang.String OBJ_ID
See Also:
Constant Field Values

PARAM_MAP_PREFIX_TAG

protected static java.lang.String PARAM_MAP_PREFIX_TAG

Constructor Detail

Credential

public Credential()

Method Detail

getParamMap

public java.util.Map<java.lang.String,CredentialParam> getParamMap()
returns the credential map.
Returns:
of credential parameter objects.

getGenericParamMap

public java.util.Map<java.lang.String,CredentialParam> getGenericParamMap()
returns the generic credential map.
Returns:
of generic credential parameter objects.

getParam

public CredentialParam getParam(java.lang.String key)
Retrieves a credential by the key.
Parameters:
key - the key
Returns:
object.

addCredentialParam

public void addCredentialParam(java.lang.String key,
                               CredentialParam param)
Adds a credential to the credential object.
Parameters:
key - String value.
param - CredentialParam object.

addCredentialParamToGenericMap

public void addCredentialParamToGenericMap(java.lang.String key,
                                           CredentialParam param)
Adds a credential to the credential object in the generic Map
Parameters:
key - String value.
param - CredentialParam object.

addCredentialParam

public void addCredentialParam(java.util.Map<java.lang.String,CredentialParam> paramMap)
Adds a map of crenetial paramter objects to the Credential.
Parameters:
paramMap - <code.Map<String , CredentialParam> object.

toStringForm

public java.lang.String toStringForm()
Specified by:
toStringForm in interface PluginAttribute

fromString

public void fromString(java.lang.String token)
Specified by:
fromString in interface PluginAttribute

getKeyName

public java.lang.String getKeyName()
Specified by:
getKeyName in interface PluginAttribute

setKeyName

public void setKeyName(java.lang.String keyName)
Specified by:
setKeyName in interface PluginAttribute

getObjName

public java.lang.String getObjName()
Specified by:
getObjName in interface PluginAttribute

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.