@InterfaceAudience.Private public class TokenProvider extends Object implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interface, RegionCoprocessor
AuthenticationProtos AuthenticationService coprocessor service.Coprocessor.State| Modifier and Type | Field and Description | 
|---|---|
| private static org.slf4j.Logger | 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) | 
| Iterable<com.google.protobuf.Service> | getServices()Coprocessor endpoints providing protobuf services should override this method. | 
| private boolean | isAllowedDelegationTokenOp(org.apache.hadoop.security.UserGroupInformation ugi) | 
| void | start(CoprocessorEnvironment env)Called by the  CoprocessorEnvironmentduring it's own startup to initialize the
 coprocessor. | 
| void | stop(CoprocessorEnvironment env)Called by the  CoprocessorEnvironmentduring it's own shutdown to stop the
 coprocessor. | 
| 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) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBulkLoadObserver, getEndpointObserver, getRegionObserverprivate static final org.slf4j.Logger LOG
private AuthenticationTokenSecretManager secretManager
public TokenProvider()
public void start(CoprocessorEnvironment env)
CoprocessorCoprocessorEnvironment during it's own startup to initialize the
 coprocessor.start in interface Coprocessorpublic void stop(CoprocessorEnvironment env) throws IOException
CoprocessorCoprocessorEnvironment during it's own shutdown to stop the
 coprocessor.stop in interface CoprocessorIOExceptionprivate boolean isAllowedDelegationTokenOp(org.apache.hadoop.security.UserGroupInformation ugi) throws IOException
ugi - A user group information.IOExceptionpublic Iterable<com.google.protobuf.Service> getServices()
CoprocessorgetServices in interface CoprocessorServices or empty collection. Implementations should never
 return null.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)
getAuthenticationToken in interface org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.Interfacepublic 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)
whoAmI in interface org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService.InterfaceCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.