@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(RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done) |
Iterable<Service> |
getServices() |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
void |
whoAmI(RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
RpcCallback<AuthenticationProtos.WhoAmIResponse> done) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBulkLoadObserver, getEndpointObserver, getRegionObserverpublic void start(CoprocessorEnvironment env)
start in interface Coprocessorpublic void stop(CoprocessorEnvironment env) throws IOException
stop in interface CoprocessorIOExceptionpublic Iterable<Service> getServices()
getServices in interface Coprocessorpublic void getAuthenticationToken(RpcController controller, AuthenticationProtos.GetAuthenticationTokenRequest request, RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
getAuthenticationToken in interface AuthenticationProtos.AuthenticationService.Interfacepublic void whoAmI(RpcController controller, AuthenticationProtos.WhoAmIRequest request, RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
whoAmI in interface AuthenticationProtos.AuthenticationService.InterfaceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.