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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTokenSecretManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifiercreateIdentifier()protected byte[]createPassword(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)byte[]retrievePassword(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)
-
-
-
Method Detail
-
createPassword
protected byte[] createPassword(org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier identifier)
- Specified by:
createPasswordin classorg.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:
retrievePasswordin classorg.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:
createIdentifierin classorg.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>
-
-