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(RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done) |
Service |
getService() |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
void |
whoAmI(RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
RpcCallback<AuthenticationProtos.WhoAmIResponse> done) |
public void start(CoprocessorEnvironment env)
start in interface Coprocessorpublic void stop(CoprocessorEnvironment env) throws IOException
stop in interface CoprocessorIOExceptionpublic Service getService()
getService in interface CoprocessorServicepublic 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 © 2014 The Apache Software Foundation. All Rights Reserved.