Package org.keycloak.crl.infinispan
Class InfinispanCrlStorageProvider
java.lang.Object
org.keycloak.crl.infinispan.InfinispanCrlStorageProvider
- All Implemented Interfaces:
CrlStorageProvider
,Provider
- Author:
- rmartinc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interface
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Method Details
-
get
Description copied from interface:CrlStorageProvider
Returns the CRL for this key from cache or loading from the loader.- Specified by:
get
in interfaceCrlStorageProvider
- Parameters:
key
- The key for the CRLloader
- The loader to get if the CRL is not in cache- Returns:
- The X509CRL placed in the cache
- Throws:
GeneralSecurityException
-
refreshCache
Description copied from interface:CrlStorageProvider
Refreshes the CRL in the cache for this key.- Specified by:
refreshCache
in interfaceCrlStorageProvider
- Parameters:
key
- The key for the CRLloader
- The loader to get the CRL- Returns:
- true if refreshed or false if not
- Throws:
GeneralSecurityException
-
close
public void close()
-