Class AuthPassword
java.lang.Object
org.forgerock.opendj.ldap.AuthPassword
- All Implemented Interfaces:
Password
-
Method Summary
Modifier and TypeMethodDescriptionReturns the authentication info.Returns the authentication value.Returns the storage scheme name.static booleanisEncoded(ByteString value) Indicates whether the provided value is encoded using the auth password syntax.static AuthPasswordConverts the provided encoded String authentication password to anAuthPassword.
-
Method Details
-
valueOf
Converts the provided encoded String authentication password to anAuthPassword.- Parameters:
authPasswordValue- The encoded authentication password value to be converted.- Returns:
- An
AuthPassword. - Throws:
DecodeException- If the provided value does not comply with the authentication password format.
-
isEncoded
Indicates whether the provided value is encoded using the auth password syntax.- Parameters:
value- The value for which to make the determination.- Returns:
trueif the value appears to be encoded using the auth password syntax, orfalseif not.
-
getStorageScheme
Description copied from interface:PasswordReturns the storage scheme name.- Specified by:
getStorageSchemein interfacePassword- Returns:
- the storage scheme name
-
getAuthInfo
-
getAuthValue
-