Class AbstractDelegationTokenBinding.TokenSecretManager

  • Enclosing class:
    AbstractDelegationTokenBinding

    protected class AbstractDelegationTokenBinding.TokenSecretManager
    extends org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>
    The secret manager always uses the same secret; the factory for new identifiers is that of the token manager.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.hadoop.security.token.SecretManager

        org.apache.hadoop.security.token.SecretManager.InvalidToken
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TokenSecretManager()  
    • Constructor Detail

      • TokenSecretManager

        protected TokenSecretManager()
    • Method Detail

      • createPassword

        protected byte[] createPassword​(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)
        Specified by:
        createPassword in class org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>
      • retrievePassword

        public byte[] retrievePassword​(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)
        Specified by:
        retrievePassword in class org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>
      • createIdentifier

        public org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier createIdentifier()
        Specified by:
        createIdentifier in class org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>