org.servebox.toolbox.acl
Class ACLManager
java.lang.Object
org.servebox.toolbox.acl.ACLManager
public class ACLManager
- extends Object
This object is the main ACL system entry point.
It is responsible for retrieving ACLGrid instances,
managing and resolving conflicts, and keep the ACL entries,
request objects and control objects up-to-date.
- Author:
- B.Flight
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFLICT_RESOLVING_POLICY_INTERSECTION
public static final String CONFLICT_RESOLVING_POLICY_INTERSECTION
- See Also:
- Constant Field Values
CONFLICT_RESOLVING_POLICY_UNION
public static final String CONFLICT_RESOLVING_POLICY_UNION
- See Also:
- Constant Field Values
CONFLICT_RESOLVING_PRIORITY_TO_GROUP
public static final String CONFLICT_RESOLVING_PRIORITY_TO_GROUP
- See Also:
- Constant Field Values
CONFLICT_RESOLVING_PRIORITY_TO_USER
public static final String CONFLICT_RESOLVING_PRIORITY_TO_USER
- See Also:
- Constant Field Values
CONFLICT_RESOLVING_PRIORITY_TO_ROLE
public static final String CONFLICT_RESOLVING_PRIORITY_TO_ROLE
- See Also:
- Constant Field Values
ACLManager
public ACLManager()
getActionAll
public static String getActionAll()
getActionCreate
public static String getActionCreate()
getActionDelete
public static String getActionDelete()
getActionView
public static String getActionView()
setResolvingPolicy
public void setResolvingPolicy(String policy)
throws InvalidPolicyException
- Set the resolving policy to be used in case of conflicts.
- Parameters:
policy - INTERSECTION or UNION
- Throws:
InvalidPolicyException
getResolvingPolicy
public String getResolvingPolicy()
setResolvingPriority
public void setResolvingPriority(String priority)
throws InvalidPriorityException
- Throws:
InvalidPriorityException
getResolvingPriority
public String getResolvingPriority()
Copyright © 2010. All Rights Reserved.