public class SaltedSHA512PasswordStorageScheme extends SaltedAbstractPasswordStorageScheme<SaltedSha512PasswordStorageSchemeCfg>
Constructor and Description |
---|
SaltedSHA512PasswordStorageScheme() |
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
destroySilently, encodePasswordWithScheme, finalizePasswordStorageScheme, getAuthPasswordPlaintextValue, getPlaintextValue, isConfigurationAcceptable, isReversible
public String getStorageSchemeName()
PasswordStorageScheme
getStorageSchemeName
in class SaltedAbstractPasswordStorageScheme<SaltedSha512PasswordStorageSchemeCfg>
public String getAuthPasswordSchemeName()
PasswordStorageScheme
getStorageSchemeName
method.getAuthPasswordSchemeName
in class SaltedAbstractPasswordStorageScheme<SaltedSha512PasswordStorageSchemeCfg>
protected String getMessageDigestAlgorithm()
SaltedAbstractPasswordStorageScheme
getMessageDigestAlgorithm
in class SaltedAbstractPasswordStorageScheme<SaltedSha512PasswordStorageSchemeCfg>
protected int getDigestSize()
SaltedAbstractPasswordStorageScheme
getDigestSize
in class SaltedAbstractPasswordStorageScheme<SaltedSha512PasswordStorageSchemeCfg>
public static String encodeOffline(byte[] passwordBytes) throws LdapException
passwordBytes
- The bytes that make up the clear-text password.LdapException
- If a problem occurs during processing.Copyright 2010-2018 ForgeRock AS.