Class Credential

java.lang.Object
oracle.security.am.plugin.authn.Credential
All Implemented Interfaces:
PluginAttribute

public class Credential extends 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.2.0
  • Constructor Details

    • Credential

      public Credential()
  • Method Details

    • getParamMap

      public Map<String,<wbr>CredentialParam> getParamMap()
      returns the credential map.
      Returns:
      of credential parameter objects.
    • getGenericParamMap

      public Map<String,<wbr>CredentialParam> getGenericParamMap()
      returns the generic credential map.
      Returns:
      of generic credential parameter objects.
    • getParam

      public CredentialParam getParam<wbr>(String key)
      Retrieves a credential by the key.
      Parameters:
      key - the key
      Returns:
      object.
    • addCredentialParam

      public void addCredentialParam<wbr>(String key, CredentialParam param)
      Adds a credential to the credential object.
      Parameters:
      key - String value.
      param - CredentialParam object.
    • addCredentialParamToGenericMap

      public void addCredentialParamToGenericMap<wbr>(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<wbr>(Map<String,<wbr>CredentialParam> paramMap)
      Adds a map of crenetial paramter objects to the Credential.
      Parameters:
      paramMap - <code.Map<String , CredentialParam> object.
    • toStringForm

      public String toStringForm()
      Specified by:
      toStringForm in interface PluginAttribute
    • fromString

      public void fromString<wbr>(String token)
      Specified by:
      fromString in interface PluginAttribute
    • getKeyName

      public String getKeyName()
      Specified by:
      getKeyName in interface PluginAttribute
    • setKeyName

      public void setKeyName<wbr>(String keyName)
      Specified by:
      setKeyName in interface PluginAttribute
    • getObjName

      public String getObjName()
      Specified by:
      getObjName in interface PluginAttribute