@InterfaceAudience.Private public class TokenProvider extends Object implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interface, Coprocessor, CoprocessorService
AuthenticationProtos
AuthenticationService coprocessor service.Coprocessor.State
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
private AuthenticationTokenSecretManager |
secretManager |
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
Constructor and Description |
---|
TokenProvider() |
Modifier and Type | Method and Description |
---|---|
void |
getAuthenticationToken(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse> done)
rpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.GetAuthenticationTokenResponse); |
com.google.protobuf.Service |
getService() |
private boolean |
isAllowedDelegationTokenOp(org.apache.hadoop.security.UserGroupInformation ugi) |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
void |
whoAmI(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request,
com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse> done)
rpc WhoAmI(.WhoAmIRequest) returns (.WhoAmIResponse); |
private static final org.apache.commons.logging.Log LOG
private AuthenticationTokenSecretManager secretManager
public void start(CoprocessorEnvironment env)
start
in interface Coprocessor
public void stop(CoprocessorEnvironment env) throws IOException
stop
in interface Coprocessor
IOException
private boolean isAllowedDelegationTokenOp(org.apache.hadoop.security.UserGroupInformation ugi) throws IOException
ugi
- A user group information.IOException
public com.google.protobuf.Service getService()
getService
in interface CoprocessorService
public void getAuthenticationToken(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse> done)
org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interface
rpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.GetAuthenticationTokenResponse);
getAuthenticationToken
in interface org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interface
public void whoAmI(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request, com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse> done)
org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interface
rpc WhoAmI(.WhoAmIRequest) returns (.WhoAmIResponse);
whoAmI
in interface org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interface
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.