Class AbstractDelegationTokenBinding.TokenSecretManager

java.lang.Object
org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>
com.google.cloud.hadoop.fs.gcs.auth.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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier
     
    protected byte[]
    createPassword(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)
     
    byte[]
    retrievePassword(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)
     

    Methods inherited from class org.apache.hadoop.security.token.SecretManager

    checkAvailableForRead, createPassword, createSecretKey, generateSecret, retriableRetrievePassword

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TokenSecretManager

      protected TokenSecretManager()
  • Method Details

    • 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>