Package | Description |
---|---|
org.apache.ambari.server.agent | |
org.apache.ambari.server.security.credential | |
org.apache.ambari.server.security.encryption |
Modifier and Type | Class and Description |
---|---|
class |
AgentEncryptionKey
The encryption key which is used to encrypt sensitive data in agent config updates.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericKeyCredential
GenericKeyCredential encapsulates a credential consisting of single key (for example, a password).
|
class |
PrincipalKeyCredential
PrincipalKeyCredential encapsulates a credential consisting of a principal (or username) and
a (secret) key.
|
Modifier and Type | Method and Description |
---|---|
static Credential |
CredentialFactory.createCredential(char[] value)
Give a credential value (assumed from a keystore), attempt to determine what type of Credential
is represented and create the appropriate Credential implementation.
|
Modifier and Type | Method and Description |
---|---|
protected Credential |
AbstractCredentialStore.getCredential(KeyStore keyStore,
String alias)
Retrieves the specified credential from a KeyStore
|
Credential |
CredentialStore.getCredential(String alias)
Retrieves the specified credential from this CredentialStore
|
Credential |
AbstractCredentialStore.getCredential(String alias)
Retrieves the specified credential from this CredentialStore
This implementation is thread-safe, allowing one thread at a time to access the credential store.
|
Credential |
InMemoryCredentialStore.getCredential(String alias)
Retrieves the specified credential from this CredentialStore
This implementation is thread-safe, allowing one thread at a time to access the credential store.
|
Credential |
CredentialStoreServiceImpl.getCredential(String clusterName,
String alias) |
Credential |
CredentialStoreService.getCredential(String clusterName,
String alias)
Retrieves the specified credential looking in the temporary and then the persistent CredentialStore
|
Credential |
CredentialStoreServiceImpl.getCredential(String clusterName,
String alias,
CredentialStoreType credentialStoreType) |
Credential |
CredentialStoreService.getCredential(String clusterName,
String alias,
CredentialStoreType credentialStoreType)
Retrieves the specified credential looking in ether the persistent or the temporary CredentialStore
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCredentialStore.addCredential(KeyStore keyStore,
String alias,
Credential credential)
Adds a new credential to the supplied KeyStore
The supplied key will be converted into UTF-8 bytes before being stored.
|
void |
CredentialStore.addCredential(String alias,
Credential credential)
Adds a new credential to this CredentialStore
The supplied key will be converted into UTF-8 bytes before being stored.
|
void |
AbstractCredentialStore.addCredential(String alias,
Credential credential)
Adds a new credential to this CredentialStore
The supplied key will be converted into UTF-8 bytes before being stored.
|
void |
InMemoryCredentialStore.addCredential(String alias,
Credential credential)
Adds a new credential to this CredentialStore
The supplied key will be converted into UTF-8 bytes before being stored.
|
void |
CredentialStoreServiceImpl.setCredential(String clusterName,
String alias,
Credential credential,
CredentialStoreType credentialStoreType)
Adds a new credential to either the persistent or the temporary CredentialStore
The supplied key will be converted into UTF-8 bytes before being stored.
|
void |
CredentialStoreService.setCredential(String clusterName,
String alias,
Credential credential,
CredentialStoreType credentialStoreType)
Adds a new credential to ether the persistent or the temporary CredentialStore
The supplied key will be converted into UTF-8 bytes before being stored.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.