Package oracle.security.am.plugin.authn
Class Credential
java.lang.Object
oracle.security.am.plugin.authn.Credential
- All Implemented Interfaces:
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.2.0
-
Field Summary
Fields inherited from interface oracle.security.am.plugin.PluginAttribute
KEY_TAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCredentialParam<wbr>(String key, CredentialParam param)Adds a credential to the credential object.voidaddCredentialParam<wbr>(Map<String,<wbr>CredentialParam> paramMap)Adds a map of crenetial paramter objects to the Credential.voidaddCredentialParamToGenericMap<wbr>(String key, CredentialParam param)Adds a credential to the credential object in the generic MapvoidfromString<wbr>(String token)Map<String,<wbr>CredentialParam>returns the generic credential map.Retrieves a credential by the key.Map<String,<wbr>CredentialParam>returns the credential map.voidsetKeyName<wbr>(String keyName)
-
Constructor Details
-
Credential
public Credential()
-
-
Method Details
-
getParamMap
returns the credential map.- Returns:
- of credential parameter objects.
-
getGenericParamMap
returns the generic credential map.- Returns:
- of generic credential parameter objects.
-
getParam
Retrieves a credential by the key.- Parameters:
key- the key- Returns:
- object.
-
addCredentialParam
Adds a credential to the credential object.- Parameters:
key-Stringvalue.param-CredentialParamobject.
-
addCredentialParamToGenericMap
Adds a credential to the credential object in the generic Map- Parameters:
key-Stringvalue.param-CredentialParamobject.
-
addCredentialParam
Adds a map of crenetial paramter objects to the Credential.- Parameters:
paramMap- <code.Map<String , CredentialParam> object.
-
toStringForm
- Specified by:
toStringFormin interfacePluginAttribute
-
fromString
- Specified by:
fromStringin interfacePluginAttribute
-
getKeyName
- Specified by:
getKeyNamein interfacePluginAttribute
-
setKeyName
- Specified by:
setKeyNamein interfacePluginAttribute
-
getObjName
- Specified by:
getObjNamein interfacePluginAttribute
-