Package org.keycloak.credential.hash
Class AbstractPbkdf2PasswordHashProviderFactory
java.lang.Object
org.keycloak.credential.hash.AbstractPbkdf2PasswordHashProviderFactory
- All Implemented Interfaces:
PasswordHashProviderFactory,ProviderFactory<PasswordHashProvider>
- Direct Known Subclasses:
Pbkdf2PasswordHashProviderFactory,Pbkdf2Sha256PasswordHashProviderFactory,Pbkdf2Sha512PasswordHashProviderFactory
public abstract class AbstractPbkdf2PasswordHashProviderFactory
extends Object
implements PasswordHashProviderFactory
- Author:
- Marek Posolda
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.intvoidinit(Config.Scope config) Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedvoidsetMaxPaddingLength(int maxPaddingLength) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
create, dependsOn, getConfigMetadata, getId, order
-
Field Details
-
MAX_PADDING_LENGTH_PROPERTY
- See Also:
-
-
Constructor Details
-
AbstractPbkdf2PasswordHashProviderFactory
public AbstractPbkdf2PasswordHashProviderFactory()
-
-
Method Details
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<PasswordHashProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<PasswordHashProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<PasswordHashProvider>
-
getMaxPaddingLength
public int getMaxPaddingLength() -
setMaxPaddingLength
public void setMaxPaddingLength(int maxPaddingLength)
-