Package org.keycloak.crl.infinispan
Class InfinispanCrlStorageProviderFactory
java.lang.Object
org.keycloak.crl.infinispan.InfinispanCrlStorageProviderFactory
- All Implemented Interfaces:
CrlStorageProviderFactory,InfinispanCrlStorageProvider.SharedData,ProviderFactory<CrlStorageProvider>
public class InfinispanCrlStorageProviderFactory
extends Object
implements CrlStorageProviderFactory, InfinispanCrlStorageProvider.SharedData
- Author:
- rmartinc
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.Cache<String,X509CRLEntry> cache()longvoidclose()This is called when the server shuts down.create(KeycloakSession session) Returns the metadata for each configuration property supported by this factory.getId()voidinit(Config.Scope config) Only called once when the factory is first created.longvoidpostInit(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.ProviderFactory
dependsOn, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
InfinispanCrlStorageProviderFactory
public InfinispanCrlStorageProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CrlStorageProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadatain interfaceProviderFactory<CrlStorageProvider>- Returns:
- a list with the metadata for each configuration property supported by this factory
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<CrlStorageProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<CrlStorageProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<CrlStorageProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<CrlStorageProvider>
-
cache
- Specified by:
cachein interfaceInfinispanCrlStorageProvider.SharedData
-
tasksInProgress
- Specified by:
tasksInProgressin interfaceInfinispanCrlStorageProvider.SharedData
-
cacheTime
public long cacheTime()- Specified by:
cacheTimein interfaceInfinispanCrlStorageProvider.SharedData
-
minTimeBetweenRequests
public long minTimeBetweenRequests()- Specified by:
minTimeBetweenRequestsin interfaceInfinispanCrlStorageProvider.SharedData
-