@InterfaceAudience.Private public class TokenProvider extends Object implements AuthenticationProtos.AuthenticationService.Interface, RegionCoprocessor
AuthenticationProtos AuthenticationService coprocessor service.Coprocessor.StatePRIORITY_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,
AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
rpc GetAuthenticationToken(.hbase.pb.GetAuthenticationTokenRequest) returns (.hbase.pb.GetAuthenticationTokenResponse); |
Iterable<com.google.protobuf.Service> |
getServices()
Coprocessor endpoints providing protobuf services should override this method.
|
void |
start(CoprocessorEnvironment env)
Called by the
CoprocessorEnvironment during it's own startup to initialize the
coprocessor. |
void |
stop(CoprocessorEnvironment env)
Called by the
CoprocessorEnvironment during it's own shutdown to stop the
coprocessor. |
void |
whoAmI(com.google.protobuf.RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
rpc WhoAmI(.hbase.pb.WhoAmIRequest) returns (.hbase.pb.WhoAmIResponse); |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBulkLoadObserver, getEndpointObserver, getRegionObserverpublic 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 CoprocessorIOExceptionpublic 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,
AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
AuthenticationProtos.AuthenticationService.Interfacerpc GetAuthenticationToken(.hbase.pb.GetAuthenticationTokenRequest) returns (.hbase.pb.GetAuthenticationTokenResponse);getAuthenticationToken in interface AuthenticationProtos.AuthenticationService.Interfacepublic void whoAmI(com.google.protobuf.RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
AuthenticationProtos.AuthenticationService.Interfacerpc WhoAmI(.hbase.pb.WhoAmIRequest) returns (.hbase.pb.WhoAmIResponse);whoAmI in interface AuthenticationProtos.AuthenticationService.InterfaceCopyright © 2007–2019 Cloudera. All rights reserved.