| Package | Description |
|---|---|
| co.cask.cdap.security.auth |
Classes related to authentication of clients and daemons.
|
| Modifier and Type | Field and Description |
|---|---|
protected KeyIdentifier |
AbstractKeyManager.currentKey |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,KeyIdentifier> |
MapBackedKeyManager.allKeys |
| Modifier and Type | Method and Description |
|---|---|
KeyIdentifier |
KeyIdentifierCodec.decode(byte[] data) |
protected KeyIdentifier |
AbstractKeyManager.generateKey()
Generates a new KeyIdentifier and sets that to be the current key being used.
|
protected abstract KeyIdentifier |
AbstractKeyManager.getKey(int id)
Returns the key instance matching a given unique ID.
|
protected KeyIdentifier |
DistributedKeyManager.getKey(int id) |
protected KeyIdentifier |
MapBackedKeyManager.getKey(int id) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractKeyManager.addKey(KeyIdentifier key)
Adds a given key instance.
|
protected void |
DistributedKeyManager.addKey(KeyIdentifier key) |
protected void |
MapBackedKeyManager.addKey(KeyIdentifier key) |
byte[] |
KeyIdentifierCodec.encode(KeyIdentifier keyIdentifier) |
void |
DistributedKeyManager.onResourceUpdate(String name,
KeyIdentifier instance) |
| Constructor and Description |
|---|
DistributedKeyManager(CConfiguration conf,
Codec<KeyIdentifier> codec,
ZKClient zookeeper) |
DistributedKeyManager(CConfiguration conf,
Codec<KeyIdentifier> codec,
ZKClient zookeeper,
List<org.apache.zookeeper.data.ACL> acls) |
FileBasedKeyManager(CConfiguration conf,
Codec<KeyIdentifier> keyIdentifierCodec)
Create a new FileBasedKeyManager instance that persists keys in a local file.
|
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.