org.apache.oozie.util
Class ZKUtils.SASLOwnerACLProvider

java.lang.Object
  extended by org.apache.oozie.util.ZKUtils.SASLOwnerACLProvider
All Implemented Interfaces:
org.apache.curator.framework.api.ACLProvider, org.apache.curator.utils.InternalACLProvider
Enclosing class:
ZKUtils

public class ZKUtils.SASLOwnerACLProvider
extends Object
implements org.apache.curator.framework.api.ACLProvider

Simple implementation of an ACLProvider that simply returns ZKUtils.saslACL.


Constructor Summary
ZKUtils.SASLOwnerACLProvider()
           
 
Method Summary
 List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
           
 List<org.apache.zookeeper.data.ACL> getDefaultAcl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZKUtils.SASLOwnerACLProvider

public ZKUtils.SASLOwnerACLProvider()
Method Detail

getDefaultAcl

public List<org.apache.zookeeper.data.ACL> getDefaultAcl()
Specified by:
getDefaultAcl in interface org.apache.curator.framework.api.ACLProvider
Specified by:
getDefaultAcl in interface org.apache.curator.utils.InternalACLProvider

getAclForPath

public List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
Specified by:
getAclForPath in interface org.apache.curator.framework.api.ACLProvider
Specified by:
getAclForPath in interface org.apache.curator.utils.InternalACLProvider


Copyright © 2015 Apache Software Foundation. All Rights Reserved.