Package oracle.security.am.plugin.authn
Class CredentialParam
java.lang.Object
oracle.security.am.plugin.authn.CredentialParam
- All Implemented Interfaces:
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
-
Field Summary
Fields inherited from interface oracle.security.am.plugin.PluginAttribute
KEY_TAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromString<wbr>(String token)
getName()
Returns the name of the credential parameter.getType()
Returns the type of the credential.getValue()
Returns the value of the Credential parameter as an Object.void
setKeyName<wbr>(String keyName)
void
Sets the name of the paramter.void
Sets the Credential parameter type.void
Sets the value of the crednetial paramter.
-
Constructor Details
-
CredentialParam
public CredentialParam()
-
-
Method Details
-
getName
Returns the name of the credential parameter.- Returns:
- object.
-
setName
Sets the name of the paramter.- Parameters:
name
-String
object.
-
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 inAuthenticationConstants
- Returns:
- the type
-
setType
Sets the Credential parameter type. Type are are defined inAuthenticationConstants
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
Returns the value of the Credential parameter as an Object.- Returns:
- the value
-
setValue
Sets the value of the crednetial paramter.- Parameters:
value
- the new value
-
toStringForm
- Specified by:
toStringForm
in interfacePluginAttribute
-
fromString
- Specified by:
fromString
in interfacePluginAttribute
-
getKeyName
- Specified by:
getKeyName
in interfacePluginAttribute
-
setKeyName
- Specified by:
setKeyName
in interfacePluginAttribute
-
getObjName
- Specified by:
getObjName
in interfacePluginAttribute
-