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
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Hash iterations for PBKDF2-HMAC-SHA1 according to the Password Storage Cheat Sheet.static final StringDeprecated.static final StringDeprecated.Fields inherited from class org.keycloak.credential.hash.AbstractPbkdf2PasswordHashProviderFactory
MAX_PADDING_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) Deprecated.getId()Deprecated.intorder()Deprecated.Methods inherited from class org.keycloak.credential.hash.AbstractPbkdf2PasswordHashProviderFactory
close, getMaxPaddingLength, init, postInit, setMaxPaddingLengthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
close, dependsOn, getConfigMetadata, init, 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:
createin interfaceProviderFactory<PasswordHashProvider>
-
getId
Deprecated.- Specified by:
getIdin interfaceProviderFactory<PasswordHashProvider>
-
order
public int order()Deprecated.- Specified by:
orderin interfaceProviderFactory<PasswordHashProvider>
-