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(org.apache.hadoop.conf.Configuration conf)
Deprecated.
Since 2.0.0.
|
static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> |
ClientTokenUtil.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)
Deprecated.
External users should not use this method. Please post on
the HBase dev mailing list if you need this method. Internal
HBase code should use
ClientTokenUtil instead. |
(package private) static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> |
ClientTokenUtil.obtainToken(Connection conn,
User user)
Obtain and return an authentication token for the given user.
|
static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> |
TokenUtil.obtainToken(Connection conn,
User user)
Deprecated.
External users should not use this method. Please post on
the HBase dev mailing list if you need this method. Internal
HBase code should use
ClientTokenUtil instead. |
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) |
(package private) static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> |
ClientTokenUtil.toToken(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token proto)
Converts a protobuf Token message back into a Token instance.
|
static org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> |
TokenUtil.toToken(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token proto)
Deprecated.
External users should not use this method. Please post on
the HBase dev mailing list if you need this method. Internal
HBase code should use
ClientTokenUtil instead. |
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) |
(package private) static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token |
ClientTokenUtil.toToken(org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> token)
Converts a Token instance (with embedded identifier) to the protobuf representation.
|
static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token |
TokenUtil.toToken(org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> token)
Deprecated.
External users should not use this method. Please post on
the HBase dev mailing list if you need this method. Internal
HBase code should use
ClientTokenUtil instead. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.