public class HardcodedKeyLocator extends Object implements KeyLocator, Iterable<Key>
| Constructor and Description |
|---|
HardcodedKeyLocator(Collection<? extends Key> keys) |
HardcodedKeyLocator(Key key) |
| Modifier and Type | Method and Description |
|---|---|
Key |
getKey(String kid)
Returns a key with a particular ID.
|
Iterator<Key> |
iterator() |
void |
refreshKeyCache()
If this key locator caches keys in any way, forces this cache cleanup
and refreshing the keys.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic HardcodedKeyLocator(Key key)
public HardcodedKeyLocator(Collection<? extends Key> keys)
public Key getKey(String kid)
KeyLocatorgetKey in interface KeyLocatorkid - Key IDpublic void refreshKeyCache()
KeyLocatorrefreshKeyCache in interface KeyLocatorCopyright © 2021 JBoss by Red Hat. All rights reserved.