java.io.Closeable, java.lang.AutoCloseable, DelegationTokenIssuerpublic class KeyProviderDelegationTokenExtension extends KeyProviderExtension<KeyProviderDelegationTokenExtension.DelegationTokenExtension> implements DelegationTokenIssuer
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
KeyProviderDelegationTokenExtension.DelegationTokenExtension |
DelegationTokenExtension is a type of Extension that exposes methods
needed to work with Delegation Tokens.
|
KeyProviderExtension.ExtensionKeyProvider.KeyVersion, KeyProvider.Metadata, KeyProvider.OptionsDEFAULT_BITLENGTH, DEFAULT_BITLENGTH_NAME, DEFAULT_CIPHER, DEFAULT_CIPHER_NAME, JCEKS_KEY_SERIAL_FILTER, JCEKS_KEY_SERIALFILTER_DEFAULTTOKEN_LOG| Modifier and Type | Method | Description |
|---|---|---|
static KeyProviderDelegationTokenExtension |
createKeyProviderDelegationTokenExtension(KeyProvider keyProvider) |
Creates a
KeyProviderDelegationTokenExtension using a given
KeyProvider. |
java.lang.String |
getCanonicalServiceName() |
The service name used as the alias for the token in the credential
token map.
|
Token<?> |
getDelegationToken(java.lang.String renewer) |
Unconditionally get a new token with the optional renewer.
|
createKey, createKey, deleteKey, flush, getCurrentKey, getExtension, getKeyProvider, getKeys, getKeysMetadata, getKeyVersion, getKeyVersions, getMetadata, invalidateCache, isTransient, rollNewVersion, rollNewVersion, toStringbuildVersionName, close, findProvider, generateKey, getBaseName, getConf, needsPassword, noPasswordError, noPasswordWarning, optionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDelegationTokens, getAdditionalTokenIssuerspublic java.lang.String getCanonicalServiceName()
DelegationTokenIssuergetCanonicalServiceName in interface DelegationTokenIssuerpublic Token<?> getDelegationToken(java.lang.String renewer) throws java.io.IOException
DelegationTokenIssuergetDelegationToken in interface DelegationTokenIssuerrenewer - renewer.java.io.IOException - raised on errors performing I/O.public static KeyProviderDelegationTokenExtension createKeyProviderDelegationTokenExtension(KeyProvider keyProvider)
KeyProviderDelegationTokenExtension using a given
KeyProvider.
If the given KeyProvider implements the
KeyProviderDelegationTokenExtension.DelegationTokenExtension interface the KeyProvider
itself will provide the extension functionality, otherwise a default
extension implementation will be used.
keyProvider - KeyProvider to use to create the
KeyProviderDelegationTokenExtension extension.KeyProviderDelegationTokenExtension instance
using the given KeyProvider.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.