|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InheritingPolicyManager
Policy manager which inherits credentials in a policy tree.
Field Summary |
---|
Fields inherited from interface org.apache.lenya.ac.PolicyManager |
---|
ROLE |
Method Summary | |
---|---|
Policy |
buildSubtreePolicy(AccreditableManager controller,
java.lang.String url)
Builds a subtree policy from a file. |
Policy[] |
getPolicies(AccreditableManager controller,
java.lang.String url)
Returns the existing policies for all URL steps in bottom-up order, ending with the root policy. |
void |
saveSubtreePolicy(java.lang.String url,
Policy policy)
Saves a Subtree policy. |
Methods inherited from interface org.apache.lenya.ac.PolicyManager |
---|
accreditableAdded, accreditableRemoved, getCredentials, getGrantedRoles, getPolicy |
Method Detail |
---|
Policy buildSubtreePolicy(AccreditableManager controller, java.lang.String url) throws AccessControlException
controller
- The access controller to use.url
- The URL inside the web application.
AccessControlException
- when something went wrong.Policy[] getPolicies(AccreditableManager controller, java.lang.String url) throws AccessControlException
controller
- The accreditable manager to use.url
- The URL inside the web application.
AccessControlException
- when something went wrong.void saveSubtreePolicy(java.lang.String url, Policy policy) throws AccessControlException
url
- The url to save the policy for.policy
- The policy to save.
AccessControlException
- when something went wrong.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |