@InterfaceAudience.Private public class TokenProvider extends java.lang.Object implements AuthenticationProtos.AuthenticationService.Interface, Coprocessor, CoprocessorService
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,
<any> done)
rpc GetAuthenticationToken(.hbase.pb.GetAuthenticationTokenRequest) returns (.hbase.pb.GetAuthenticationTokenResponse); |
Service |
getService() |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
void |
whoAmI(RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
<any> done)
rpc WhoAmI(.hbase.pb.WhoAmIRequest) returns (.hbase.pb.WhoAmIResponse); |
public void start(CoprocessorEnvironment env)
start in interface Coprocessorpublic void stop(CoprocessorEnvironment env) throws java.io.IOException
stop in interface Coprocessorjava.io.IOExceptionpublic Service getService()
getService in interface CoprocessorServicepublic void getAuthenticationToken(RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
<any> done)
AuthenticationProtos.AuthenticationService.Interfacerpc GetAuthenticationToken(.hbase.pb.GetAuthenticationTokenRequest) returns (.hbase.pb.GetAuthenticationTokenResponse);getAuthenticationToken in interface AuthenticationProtos.AuthenticationService.Interfacepublic void whoAmI(RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
<any> done)
AuthenticationProtos.AuthenticationService.Interfacerpc WhoAmI(.hbase.pb.WhoAmIRequest) returns (.hbase.pb.WhoAmIResponse);whoAmI in interface AuthenticationProtos.AuthenticationService.Interface