Class AuthenticationTokenIdentifier

  • All Implemented Interfaces:

    public class AuthenticationTokenIdentifier
    Implementation that identifies the underlying Token for Accumulo.
    • Field Detail

      • TOKEN_KIND

        public static final TOKEN_KIND
    • Constructor Detail

      • AuthenticationTokenIdentifier

        public AuthenticationTokenIdentifier()
      • AuthenticationTokenIdentifier

        public AuthenticationTokenIdentifier​(String principal)
      • AuthenticationTokenIdentifier

        public AuthenticationTokenIdentifier​(String principal,
                                             int keyId,
                                             long issueDate,
                                             long expirationDate,
                                             String instanceId)
    • Method Detail

      • setKeyId

        public void setKeyId​(int keyId)
      • getKeyId

        public int getKeyId()
      • setIssueDate

        public void setIssueDate​(long issueDate)
      • getIssueDate

        public long getIssueDate()
      • setExpirationDate

        public void setExpirationDate​(long expirationDate)
      • getExpirationDate

        public long getExpirationDate()
      • setInstanceId

        public void setInstanceId​(String instanceId)
      • getInstanceId

        public String getInstanceId()
      • getConfig

        public DelegationTokenConfig getConfig()
        A configuration from the requesting user, may be null.
      • getKind

        public getKind()
        Specified by:
        getKind in class
      • getUser

        public getUser()
        Specified by:
        getUser in class
      • hashCode

        public int hashCode()
        hashCode in class Object