Class ClientSecretRotationExecutorFactory
java.lang.Object
org.keycloak.services.clientpolicy.executor.ClientSecretRotationExecutorFactory
- All Implemented Interfaces:
ConfiguredProvider,EnvironmentDependentProviderFactory,ProviderFactory<ClientPolicyExecutorProvider>,ClientPolicyExecutorProviderFactory
public class ClientSecretRotationExecutorFactory
extends Object
implements ClientPolicyExecutorProviderFactory, EnvironmentDependentProviderFactory
- Author:
- Marcelo Sales
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
SECRET_EXPIRATION_PERIOD
- See Also:
-
DEFAULT_SECRET_EXPIRATION_PERIOD
-
SECRET_REMAINING_ROTATION_PERIOD
- See Also:
-
DEFAULT_SECRET_REMAINING_ROTATION_PERIOD
-
SECRET_ROTATED_EXPIRATION_PERIOD
- See Also:
-
DEFAULT_SECRET_ROTATED_EXPIRATION_PERIOD
-
-
Constructor Details
-
ClientSecretRotationExecutorFactory
public ClientSecretRotationExecutorFactory()
-
-
Method Details
-
getHelpText
- Specified by:
getHelpTextin interfaceConfiguredProvider
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider
-
create
- Specified by:
createin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<ClientPolicyExecutorProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<ClientPolicyExecutorProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceClientPolicyExecutorProviderFactory- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-