@InterfaceAudience.Private public class TokenProvider extends 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(com.google.protobuf.RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
rpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.GetAuthenticationTokenResponse); |
com.google.protobuf.Service |
getService() |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
void |
whoAmI(com.google.protobuf.RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
rpc WhoAmI(.WhoAmIRequest) returns (.WhoAmIResponse); |
public void start(CoprocessorEnvironment env)
start in interface Coprocessorpublic void stop(CoprocessorEnvironment env) throws IOException
stop in interface CoprocessorIOExceptionpublic com.google.protobuf.Service getService()
getService in interface CoprocessorServicepublic void getAuthenticationToken(com.google.protobuf.RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
AuthenticationProtos.AuthenticationService.Interfacerpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.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(.WhoAmIRequest) returns (.WhoAmIResponse);whoAmI in interface AuthenticationProtos.AuthenticationService.InterfaceCopyright © 2014 The Apache Software Foundation. All rights reserved.