public class SaltedSHA1PasswordStorageScheme extends SaltedAbstractPasswordStorageScheme<org.forgerock.opendj.server.config.server.SaltedSha1PasswordStorageSchemeCfg>
Constructor and Description |
---|
SaltedSHA1PasswordStorageScheme() |
Modifier and Type | Method and Description |
---|---|
static String |
encodeOffline(byte[] passwordBytes)
Generates an encoded password string from the given clear-text password.
|
String |
getAuthPasswordSchemeName()
Retrieves the scheme name that should be used with this password
storage scheme when it is used in the context of the
authentication password syntax.
|
protected int |
getDigestSize()
Returns the number of bytes the digest algorithm produces.
|
protected String |
getMessageDigestAlgorithm()
Returns the algorithm to use for computing digests.
|
String |
getStorageSchemeName()
Retrieves the name of the password storage scheme provided by
this handler.
|
authPasswordMatches, encodeAuthPassword, encodePassword, initializePasswordStorageScheme, isStorageSchemeSecure, passwordMatches, supportsAuthPasswordSyntax
encodePasswordWithScheme, finalizePasswordStorageScheme, getAuthPasswordPlaintextValue, getPlaintextValue, isConfigurationAcceptable, isReversible
public SaltedSHA1PasswordStorageScheme()
public String getStorageSchemeName()
PasswordStorageScheme
getStorageSchemeName
in class SaltedAbstractPasswordStorageScheme<org.forgerock.opendj.server.config.server.SaltedSha1PasswordStorageSchemeCfg>
public String getAuthPasswordSchemeName()
PasswordStorageScheme
getStorageSchemeName
method.getAuthPasswordSchemeName
in class SaltedAbstractPasswordStorageScheme<org.forgerock.opendj.server.config.server.SaltedSha1PasswordStorageSchemeCfg>
protected String getMessageDigestAlgorithm()
SaltedAbstractPasswordStorageScheme
getMessageDigestAlgorithm
in class SaltedAbstractPasswordStorageScheme<org.forgerock.opendj.server.config.server.SaltedSha1PasswordStorageSchemeCfg>
protected int getDigestSize()
SaltedAbstractPasswordStorageScheme
getDigestSize
in class SaltedAbstractPasswordStorageScheme<org.forgerock.opendj.server.config.server.SaltedSha1PasswordStorageSchemeCfg>
public static String encodeOffline(byte[] passwordBytes) throws DirectoryException
passwordBytes
- The bytes that make up the clear-text password.DirectoryException
- If a problem occurs during processing.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.