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, wait
forEach, spliterator
public HardcodedKeyLocator(Key key)
public HardcodedKeyLocator(Collection<? extends Key> keys)
public Key getKey(String kid)
KeyLocator
getKey
in interface KeyLocator
kid
- Key IDpublic void refreshKeyCache()
KeyLocator
refreshKeyCache
in interface KeyLocator
Copyright © 2021 JBoss by Red Hat. All rights reserved.