Package org.keycloak.credential
Class PasswordCredentialProviderFactory
java.lang.Object
org.keycloak.credential.PasswordCredentialProviderFactory
- All Implemented Interfaces:
CredentialProviderFactory<PasswordCredentialProvider>
,ProviderFactory<CredentialProvider>
public class PasswordCredentialProviderFactory
extends Object
implements CredentialProviderFactory<PasswordCredentialProvider>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) Returns the metadata for each configuration property supported by this factory.getId()
This is the name of the provider and will be showed in the admin console as an option.void
init
(Config.Scope config) Only called once when the factory is first created.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.credential.CredentialProviderFactory
close, postInit
Methods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
METER_REALM_TAG
- See Also:
-
METER_ALGORITHM_TAG
- See Also:
-
METER_HASHING_STRENGTH_TAG
- See Also:
-
METER_VALIDATION_OUTCOME_TAG
- See Also:
-
-
Constructor Details
-
PasswordCredentialProviderFactory
public PasswordCredentialProviderFactory()
-
-
Method Details
-
create
- Specified by:
create
in interfaceProviderFactory<CredentialProvider>
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceCredentialProviderFactory<PasswordCredentialProvider>
- Specified by:
init
in interfaceProviderFactory<CredentialProvider>
-
getId
Description copied from interface:CredentialProviderFactory
This is the name of the provider and will be showed in the admin console as an option.- Specified by:
getId
in interfaceCredentialProviderFactory<PasswordCredentialProvider>
- Specified by:
getId
in interfaceProviderFactory<CredentialProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactory
Returns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadata
in interfaceProviderFactory<CredentialProvider>
- Returns:
- a list with the metadata for each configuration property supported by this factory
-