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 protected
TokenSecretManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier
createIdentifier()
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:
createPassword
in 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:
retrievePassword
in 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:
createIdentifier
in classorg.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier>
-
-