Class CredentialParam

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

public final class CredentialParam extends Object implements PluginAttribute
CredentialParam object holds the each credenetial collected. This will have the type of the credential and value. Credential parameter types are defined in AuthenticationConstants the available types are.
  • AuthenticationConstants.CRED_PARAM_TYPE_STRING
  • AuthenticationConstants.CRED_PARAM_TYPE_PASSWD
  • AuthenticationConstants.CRED_PARAM_TYPE_HTTP_HEADER
  • AuthenticationConstants.CRED_PARAM_TYPE_HTTP_COOKIE
Since:
OAM 11.1.1.2.0
  • Constructor Details

    • CredentialParam

      public CredentialParam()
  • Method Details

    • getName

      public String getName()
      Returns the name of the credential parameter.
      Returns:
      object.
    • setName

      public void setName<wbr>(String name)
      Sets the name of the paramter.
      Parameters:
      name - String object.
    • getType

      public String getType()
      Returns the type of the credential. Type can be a user defined type also. Only the handling module should now how to operate on this type of credential. Credential parameter types are defined in AuthenticationConstants
      Returns:
      the type
    • setType

      public void setType<wbr>(String type)
      Sets the Credential parameter type. Type are are defined in AuthenticationConstants the available types are.
      • AuthenticationConstants.CRED_PARAM_TYPE_STRING
      • AuthenticationConstants.CRED_PARAM_TYPE_PASSWD
      • AuthenticationConstants.CRED_PARAM_TYPE_HTTP_HEADER
      • AuthenticationConstants.CRED_PARAM_TYPE_HTTP_COOKIE
      Parameters:
      type - the new type
    • getValue

      public Object getValue()
      Returns the value of the Credential parameter as an Object.
      Returns:
      the value
    • setValue

      public void setValue<wbr>(Object value)
      Sets the value of the crednetial paramter.
      Parameters:
      value - the new value
    • 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