org.apache.hadoop.hbase.security.token
Class TokenProvider
java.lang.Object
org.apache.hadoop.hbase.security.token.TokenProvider
- All Implemented Interfaces:
- Coprocessor, CoprocessorService, AuthenticationProtos.AuthenticationService.Interface
@InterfaceAudience.Private
public class TokenProvider
- extends Object
- implements AuthenticationProtos.AuthenticationService.Interface, Coprocessor, CoprocessorService
Provides a service for obtaining authentication tokens via the
AuthenticationProtos
AuthenticationService coprocessor service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenProvider
public TokenProvider()
start
public void start(CoprocessorEnvironment env)
- Specified by:
start
in interface Coprocessor
stop
public void stop(CoprocessorEnvironment env)
throws IOException
- Specified by:
stop
in interface Coprocessor
- Throws:
IOException
getService
public com.google.protobuf.Service getService()
- Specified by:
getService
in interface CoprocessorService
getAuthenticationToken
public void getAuthenticationToken(com.google.protobuf.RpcController controller,
AuthenticationProtos.GetAuthenticationTokenRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.GetAuthenticationTokenResponse> done)
- Description copied from interface:
AuthenticationProtos.AuthenticationService.Interface
rpc GetAuthenticationToken(.GetAuthenticationTokenRequest) returns (.GetAuthenticationTokenResponse);
- Specified by:
getAuthenticationToken
in interface AuthenticationProtos.AuthenticationService.Interface
whoAmI
public void whoAmI(com.google.protobuf.RpcController controller,
AuthenticationProtos.WhoAmIRequest request,
com.google.protobuf.RpcCallback<AuthenticationProtos.WhoAmIResponse> done)
- Description copied from interface:
AuthenticationProtos.AuthenticationService.Interface
rpc WhoAmI(.WhoAmIRequest) returns (.WhoAmIResponse);
- Specified by:
whoAmI
in interface AuthenticationProtos.AuthenticationService.Interface
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.