Package org.keycloak.protocol.saml
Class SamlMetadataKeyLocator
java.lang.Object
org.keycloak.protocol.saml.SamlMetadataKeyLocator
- All Implemented Interfaces:
Iterable<Key>,KeyLocator
KeyLocator that caches the keys into a PublicKeyStorageProvider.
- Author:
- rmartinc
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.rotation.KeyLocator
KeyLocator.KeyHash -
Constructor Summary
ConstructorsConstructorDescriptionSamlMetadataKeyLocator(String modelKey, PublicKeyLoader loader, KeyUse use, PublicKeyStorageProvider keyStorage) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.keycloak.rotation.KeyLocator
getKey
-
Constructor Details
-
SamlMetadataKeyLocator
public SamlMetadataKeyLocator(String modelKey, PublicKeyLoader loader, KeyUse use, PublicKeyStorageProvider keyStorage)
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceKeyLocator- Throws:
KeyManagementException
-
getKey
- Specified by:
getKeyin interfaceKeyLocator- Throws:
KeyManagementException
-
refreshKeyCache
public void refreshKeyCache()- Specified by:
refreshKeyCachein interfaceKeyLocator
-
iterator
-