Package org.opencms.security
Class CmsDefaultCredentialsResolver
java.lang.Object
org.opencms.security.CmsDefaultCredentialsResolver
- All Implemented Interfaces:
I_CmsCredentialsResolver
Default implementation of a I_CmsCredentialResolver, which does nothing but return the
credential which was passed in.
-
Field Summary
Fields inherited from interface org.opencms.security.I_CmsCredentialsResolver
DB_PASSWORD, DB_USER, LDAP_PASSWORD, LDAP_USER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveCredential
(String credentialType, String valueFromConfiguration) Translates user names or passwords for authentication.
-
Constructor Details
-
CmsDefaultCredentialsResolver
public CmsDefaultCredentialsResolver()
-
-
Method Details
-
resolveCredential
Description copied from interface:I_CmsCredentialsResolver
Translates user names or passwords for authentication.- Specified by:
resolveCredential
in interfaceI_CmsCredentialsResolver
- Parameters:
credentialType
- the type of credential to resolve (this is equal to one of the constants defined in this interface)valueFromConfiguration
- the original value which was read from the configuration file (may be null)- Returns:
- the credential value that should be used for authentication
- See Also:
-