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(Connection conn,
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> |
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. |
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,
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. |
(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.
|
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)
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.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)
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.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.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.