public class InMemoryKeyManager extends MapBackedKeyManager
KeyManager.DigestIdallKeyscurrentKey, keyAlgo, keyExpirationPeriod, keyGenerator, keyLength, threadLocalMac| Constructor and Description |
|---|
InMemoryKeyManager(CConfiguration conf)
Create an InMemoryKeyManager that stores keys in memory only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doInit()
Extended classes must override this method to initialize/read the key(s) used for signing tokens.
|
void |
shutDown() |
addKey, getKey, hasKeygenerateKey, generateMAC, generateMAC, generateMAC, startUp, validateMACaddListener, executor, isRunning, start, startAndWait, state, stop, stopAndWait, toStringpublic InMemoryKeyManager(CConfiguration conf)
conf - public void doInit()
throws IOException
AbstractKeyManagerdoInit in class AbstractKeyManagerIOExceptionpublic void shutDown()
shutDown in class com.google.common.util.concurrent.AbstractIdleServiceCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.