org.servebox.toolbox.acl
Class ACLManager

java.lang.Object
  extended by 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

Field Summary
static String CONFLICT_RESOLVING_POLICY_INTERSECTION
           
static String CONFLICT_RESOLVING_POLICY_UNION
           
static String CONFLICT_RESOLVING_PRIORITY_TO_GROUP
           
static String CONFLICT_RESOLVING_PRIORITY_TO_ROLE
           
static String CONFLICT_RESOLVING_PRIORITY_TO_USER
           
 
Constructor Summary
ACLManager()
           
 
Method Summary
static String getActionAll()
           
static String getActionCreate()
           
static String getActionDelete()
           
static String getActionView()
           
 String getResolvingPolicy()
           
 String getResolvingPriority()
           
 void setResolvingPolicy(String policy)
          Set the resolving policy to be used in case of conflicts.
 void setResolvingPriority(String priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ACLManager

public ACLManager()
Method Detail

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.