org.apache.hadoop.hbase.stargate.auth
Class HTableAuthenticator
java.lang.Object
org.apache.hadoop.hbase.stargate.auth.Authenticator
org.apache.hadoop.hbase.stargate.auth.HTableAuthenticator
- All Implemented Interfaces:
- Constants
public class HTableAuthenticator
- extends Authenticator
- implements Constants
Fields inherited from interface org.apache.hadoop.hbase.stargate.Constants |
AUTHENTICATOR_KEY, DEFAULT_MAX_AGE, INSTANCE_ZNODE_ROOT, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_TEXT, MIMETYPE_XML, MULTIUSER_KEY, STATUS_REPORT_PERIOD_KEY, USERS_TABLE, USERS_ZNODE_ROOT, VERSION_STRING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTableAuthenticator
public HTableAuthenticator()
- Default constructor
HTableAuthenticator
public HTableAuthenticator(HBaseConfiguration conf)
- Constructor
- Parameters:
conf
-
HTableAuthenticator
public HTableAuthenticator(HBaseConfiguration conf,
String tableName)
- Constructor
- Parameters:
conf
- tableName
-
HTableAuthenticator
public HTableAuthenticator(HBaseConfiguration conf,
HTable table)
- Constructor
- Parameters:
conf
- table
-
getUserForToken
public User getUserForToken(String token)
throws IOException
- Specified by:
getUserForToken
in class Authenticator
- Throws:
IOException
Copyright © 2010 The Apache Software Foundation