public abstract class ClientAuthProvider extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
KEBEROS_CLIENT_AUTH_CODE |
static byte |
SIMPLE_CLIENT_AUTH_CODE |
Constructor and Description |
---|
ClientAuthProvider(HBaseClient hbase_client)
Default CTor that stores a reference to the AsyncHBase client
|
Modifier and Type | Method and Description |
---|---|
abstract byte |
getAuthMethodCode() |
abstract Subject |
getClientSubject() |
abstract String |
getClientUsername() |
abstract SaslClient |
newSaslClient(String service_ip,
Map<String,String> props)
Return a new SaslClient for target serviceIP host.
|
public static final byte SIMPLE_CLIENT_AUTH_CODE
public static final byte KEBEROS_CLIENT_AUTH_CODE
public ClientAuthProvider(HBaseClient hbase_client)
hbase_client
- The HBaseClient to fetch configuration and timers frompublic abstract SaslClient newSaslClient(String service_ip, Map<String,String> props)
service_ip
- The IP of the target host.props
- The set of properties with which to create a new client.public abstract String getClientUsername()
public abstract byte getAuthMethodCode()
public abstract Subject getClientSubject()
Copyright © 2010-2017, The Async HBase Authors