|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationProtocol
Defines a custom RPC protocol for obtaining authentication tokens
Field Summary |
---|
Fields inherited from interface org.apache.hadoop.hbase.ipc.CoprocessorProtocol |
---|
VERSION |
Method Summary | |
---|---|
org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> |
getAuthenticationToken()
Obtains a token capable of authenticating as the current user for future connections. |
String |
whoami()
Returns the currently authenticated username. |
Methods inherited from interface org.apache.hadoop.hbase.ipc.VersionedProtocol |
---|
getProtocolSignature, getProtocolVersion |
Method Detail |
---|
org.apache.hadoop.security.token.Token<AuthenticationTokenIdentifier> getAuthenticationToken() throws IOException
IOException
- If obtaining a token is denied or encounters an errorString whoami()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |