org.apache.hadoop.hbase.security.visibility
Class VisibilityLabelServiceManager
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityLabelServiceManager
@InterfaceAudience.Private
public class VisibilityLabelServiceManager
- extends Object
Manages singleton instance of VisibilityLabelService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VISIBILITY_LABEL_SERVICE_CLASS
public static final String VISIBILITY_LABEL_SERVICE_CLASS
- See Also:
- Constant Field Values
getInstance
public static VisibilityLabelServiceManager getInstance()
getVisibilityLabelService
public VisibilityLabelService getVisibilityLabelService(org.apache.hadoop.conf.Configuration conf)
throws IOException
- Parameters:
conf -
- Returns:
- singleton instance of
VisibilityLabelService. The FQCN of the implementation
class can be specified using "hbase.regionserver.visibility.label.service.class".
- Throws:
IOException - When VLS implementation, as specified in conf, can not be loaded.
getVisibilityLabelService
public VisibilityLabelService getVisibilityLabelService()
- Returns:
- singleton instance of
VisibilityLabelService.
- Throws:
IllegalStateException - if this called before initialization of singleton instance.
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.