org.apache.hadoop.hbase.stargate.auth
Class HTableAuthenticator

java.lang.Object
  extended by org.apache.hadoop.hbase.stargate.auth.Authenticator
      extended by org.apache.hadoop.hbase.stargate.auth.HTableAuthenticator
All Implemented Interfaces:
Constants

public class HTableAuthenticator
extends Authenticator
implements Constants


Field Summary
 
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
 
Constructor Summary
HTableAuthenticator()
          Default constructor
HTableAuthenticator(HBaseConfiguration conf)
          Constructor
HTableAuthenticator(HBaseConfiguration conf, HTable table)
          Constructor
HTableAuthenticator(HBaseConfiguration conf, String tableName)
          Constructor
 
Method Summary
 User getUserForToken(String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

getUserForToken

public User getUserForToken(String token)
                     throws IOException
Specified by:
getUserForToken in class Authenticator
Throws:
IOException


Copyright © 2010 The Apache Software Foundation