public interface DelegationToken extends AuthenticationToken
AuthenticationToken
that wraps a "Hadoop style" delegation token created by Accumulo.
The intended scope of this token is when a KerberosToken cannot be used instead. The most common
reason for this is within YARN jobs. The Kerberos credentials of the user are not passed over the
wire to the job itself. The delegation token serves as a mechanism to obtain a transient shared
secret with Accumulo using a KerberosToken
and then run some task authenticating with
that shared secret.
Obtain a delegation token by calling
SecurityOperations.getDelegationToken(org.apache.accumulo.core.client.admin.DelegationTokenConfig)
AuthenticationToken.AuthenticationTokenSerializer, AuthenticationToken.Properties, AuthenticationToken.TokenProperty
clone, getProperties, init
destroy, isDestroyed
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.