| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.security.token | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthenticationTokenIdentifier | AuthenticationTokenSecretManager. createIdentifier() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> | AuthenticationTokenSecretManager. generateToken(String username) | 
| private static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> | TokenUtil. getAuthToken(org.apache.hadoop.conf.Configuration conf,
            User user)Get the authentication token of the user for the cluster specified in the configuration | 
| static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> | TokenUtil. obtainToken(Connection conn)Obtain and return an authentication token for the current user. | 
| static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> | TokenUtil. obtainToken(Connection conn,
           User user)Obtain and return an authentication token for the current user. | 
| org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> | AuthenticationTokenSelector. selectToken(org.apache.hadoop.io.Text serviceName,
           Collection<org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> tokens) | 
| static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> | TokenUtil. toToken(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token proto)Converts a protobuf Token message back into a Token instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected byte[] | AuthenticationTokenSecretManager. createPassword(AuthenticationTokenIdentifier identifier) | 
| byte[] | AuthenticationTokenSecretManager. retrievePassword(AuthenticationTokenIdentifier identifier) | 
| Modifier and Type | Method and Description | 
|---|---|
| private static org.apache.hadoop.io.Text | TokenUtil. getClusterId(org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> token) | 
| static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token | TokenUtil. toToken(org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> token)Converts a Token instance (with embedded identifier) to the protobuf representation. | 
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.