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 SummaryFields Modifier and Type Field Description static StringMAX_PADDING_LENGTH_PROPERTY
 - 
Constructor SummaryConstructors Constructor Description AbstractPbkdf2PasswordHashProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.intgetMaxPaddingLength()voidinit(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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorycreate, getConfigMetadata, getId, order
 
- 
 
- 
- 
- 
Field Detail- 
MAX_PADDING_LENGTH_PROPERTYpublic static final String MAX_PADDING_LENGTH_PROPERTY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<PasswordHashProvider>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<PasswordHashProvider>
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<PasswordHashProvider>
 
 - 
getMaxPaddingLengthpublic int getMaxPaddingLength() 
 - 
setMaxPaddingLengthpublic void setMaxPaddingLength(int maxPaddingLength) 
 
- 
 
-