1 17 18 package org.apache.lenya.ac.impl; 19 20 import org.apache.lenya.ac.AccessControlException; 21 import org.apache.lenya.ac.AccreditableManager; 22 import org.apache.lenya.ac.PolicyManager; 23 24 28 public interface InheritingPolicyManager extends PolicyManager { 29 30 38 DefaultPolicy buildURLPolicy(AccreditableManager controller, String url) 39 throws AccessControlException; 40 41 48 DefaultPolicy buildSubtreePolicy(AccreditableManager controller, String url) 49 throws AccessControlException; 50 51 58 DefaultPolicy[] getPolicies(AccreditableManager controller, String url) 59 throws AccessControlException; 60 61 67 void saveURLPolicy(String url, DefaultPolicy policy) throws AccessControlException; 68 69 75 void saveSubtreePolicy(String url, DefaultPolicy policy) throws AccessControlException; 76 77 } 78 | Popular Tags |