Package org.keycloak.credential.hash
Class Pbkdf2PasswordHashProviderFactory
java.lang.Object
org.keycloak.credential.hash.AbstractPbkdf2PasswordHashProviderFactory
org.keycloak.credential.hash.Pbkdf2PasswordHashProviderFactory
- All Implemented Interfaces:
PasswordHashProviderFactory
,ProviderFactory<PasswordHashProvider>
@Deprecated
public class Pbkdf2PasswordHashProviderFactory
extends AbstractPbkdf2PasswordHashProviderFactory
implements PasswordHashProviderFactory
Deprecated.
The PBKDF2 provider with SHA1 and the recommended number of 1.300.000 iterations is known to be very slow. We recommend to use the PBKDF2 variants with SHA256 or SHA512 instead.
Provider factory for SHA1 variant of the PBKDF2 password hash algorithm.
- Author:
- Kunal Kerkar
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.Hash iterations for PBKDF2-HMAC-SHA1 according to the Password Storage Cheat Sheet.static final String
Deprecated.static final String
Deprecated.Fields inherited from class org.keycloak.credential.hash.AbstractPbkdf2PasswordHashProviderFactory
MAX_PADDING_LENGTH_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) Deprecated.getId()
Deprecated.Methods inherited from class org.keycloak.credential.hash.AbstractPbkdf2PasswordHashProviderFactory
close, getMaxPaddingLength, init, postInit, setMaxPaddingLength
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ProviderFactory
close, getConfigMetadata, init, order, postInit
-
Field Details
-
ID
Deprecated.- See Also:
-
PBKDF2_ALGORITHM
Deprecated.- See Also:
-
DEFAULT_ITERATIONS
public static final int DEFAULT_ITERATIONSDeprecated.Hash iterations for PBKDF2-HMAC-SHA1 according to the Password Storage Cheat Sheet.- See Also:
-
-
Constructor Details
-
Pbkdf2PasswordHashProviderFactory
public Pbkdf2PasswordHashProviderFactory()Deprecated.
-
-
Method Details
-
create
Deprecated.- Specified by:
create
in interfaceProviderFactory<PasswordHashProvider>
-
getId
Deprecated.- Specified by:
getId
in interfaceProviderFactory<PasswordHashProvider>
-