Package org.keycloak.crypto.hash
Class Argon2PasswordHashProviderFactory
java.lang.Object
org.keycloak.crypto.hash.Argon2PasswordHashProviderFactory
- All Implemented Interfaces:
PasswordHashProviderFactory,EnvironmentDependentProviderFactory,ProviderFactory<PasswordHashProvider>
public class Argon2PasswordHashProviderFactory
extends Object
implements PasswordHashProviderFactory, EnvironmentDependentProviderFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(KeycloakSession session) getId()voidinit(Config.Scope config) booleanisSupported(Config.Scope config) intorder()voidpostInit(KeycloakSessionFactory factory)
-
Field Details
-
ID
- See Also:
-
TYPE_KEY
- See Also:
-
VERSION_KEY
- See Also:
-
HASH_LENGTH_KEY
- See Also:
-
MEMORY_KEY
- See Also:
-
ITERATIONS_KEY
- See Also:
-
PARALLELISM_KEY
- See Also:
-
CPU_CORES_KEY
- See Also:
-
-
Constructor Details
-
Argon2PasswordHashProviderFactory
public Argon2PasswordHashProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<PasswordHashProvider>
-
init
- Specified by:
initin interfaceProviderFactory<PasswordHashProvider>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<PasswordHashProvider>
-
close
public void close()- Specified by:
closein interfaceProviderFactory<PasswordHashProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<PasswordHashProvider>
-
getConfigMetadata
- Specified by:
getConfigMetadatain interfaceProviderFactory<PasswordHashProvider>
-
isSupported
- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory
-
order
public int order()- Specified by:
orderin interfaceProviderFactory<PasswordHashProvider>
-