org.mmbase.security.implementation.cloudcontext
Class ContextBuilderFunctions

java.lang.Object
  extended by org.mmbase.security.implementation.cloudcontext.ContextBuilderFunctions

public class ContextBuilderFunctions
extends Object

Version:
$Id: ContextBuilderFunctions.java 37280 2009-07-27 12:28:10Z michiel $ MMBase-1.9.1
Author:
Michiel Meeuwissen

Constructor Summary
ContextBuilderFunctions()
           
 
Method Summary
static boolean allows(Node context, Node groupOrUser, Operation operation)
           
static boolean grant(Node context, Node groupOrUser, Operation operation, UserContext user)
           
static boolean may(Node context, UserContext user, String usertocheck, Operation operation)
           
static boolean maygrant(Node context, Node groupOrUser, Operation operation, UserContext user)
           
static boolean mayrevoke(Node context, Node groupOrUser, Operation operation, UserContext user)
           
static boolean parentsallow(Node context, Node groupOrUser, Operation operation)
           
static boolean revoke(Node context, Node groupOrUser, Operation operation, UserContext user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextBuilderFunctions

public ContextBuilderFunctions()
Method Detail

parentsallow

public static boolean parentsallow(Node context,
                                   Node groupOrUser,
                                   Operation operation)

allows

public static boolean allows(Node context,
                             Node groupOrUser,
                             Operation operation)

maygrant

public static boolean maygrant(Node context,
                               Node groupOrUser,
                               Operation operation,
                               UserContext user)

mayrevoke

public static boolean mayrevoke(Node context,
                                Node groupOrUser,
                                Operation operation,
                                UserContext user)

grant

public static boolean grant(Node context,
                            Node groupOrUser,
                            Operation operation,
                            UserContext user)

revoke

public static boolean revoke(Node context,
                             Node groupOrUser,
                             Operation operation,
                             UserContext user)

may

public static boolean may(Node context,
                          UserContext user,
                          String usertocheck,
                          Operation operation)
Since:
MMBase-1.9.2


MMBase 2.0-SNAPSHOT - null