use of org.apache.accumulo.server.security.handler.Authorizor in project accumulo by apache.
the class SecurityOperation method getAuthorizor.
protected static Authorizor getAuthorizor(String instanceId, boolean initialize) {
AccumuloConfiguration conf = SiteConfiguration.getInstance();
Authorizor toRet = Property.createInstanceFromPropertyName(conf, Property.INSTANCE_SECURITY_AUTHORIZOR, Authorizor.class, ZKAuthorizor.getInstance());
toRet.initialize(instanceId, initialize);
return toRet;
}
use of org.apache.accumulo.server.security.handler.Authorizor in project accumulo by apache.
the class SecurityOperation method getAuthorizor.
protected static Authorizor getAuthorizor(ServerContext context) {
Authorizor toRet = Property.createInstanceFromPropertyName(context.getConfiguration(), Property.INSTANCE_SECURITY_AUTHORIZOR, Authorizor.class, new ZKAuthorizor());
toRet.initialize(context);
return toRet;
}
Aggregations