org.apache.storm.hbase.security
Class HBaseSecurityUtil
java.lang.Object
org.apache.storm.hbase.security.HBaseSecurityUtil
public class HBaseSecurityUtil
- extends Object
This class provides util methods for storm-hbase connector communicating
with secured HBase.
Method Summary |
static org.apache.hadoop.hbase.security.UserProvider |
login(Map conf,
org.apache.hadoop.conf.Configuration hbaseConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STORM_KEYTAB_FILE_KEY
public static final String STORM_KEYTAB_FILE_KEY
- See Also:
- Constant Field Values
STORM_USER_NAME_KEY
public static final String STORM_USER_NAME_KEY
- See Also:
- Constant Field Values
HBaseSecurityUtil
public HBaseSecurityUtil()
login
public static org.apache.hadoop.hbase.security.UserProvider login(Map conf,
org.apache.hadoop.conf.Configuration hbaseConfig)
throws IOException
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.