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 TypeMethodDescriptionvoidfromString<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.voidsetKeyName<wbr>(String keyName)voidSets the name of the paramter.voidSets the Credential parameter type.voidSets 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-Stringobject.
-
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 inAuthenticationConstantsthe available types are.AuthenticationConstants.CRED_PARAM_TYPE_STRINGAuthenticationConstants.CRED_PARAM_TYPE_PASSWDAuthenticationConstants.CRED_PARAM_TYPE_HTTP_HEADERAuthenticationConstants.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:
toStringFormin interfacePluginAttribute
-
fromString
- Specified by:
fromStringin interfacePluginAttribute
-
getKeyName
- Specified by:
getKeyNamein interfacePluginAttribute
-
setKeyName
- Specified by:
setKeyNamein interfacePluginAttribute
-
getObjName
- Specified by:
getObjNamein interfacePluginAttribute
-