org.mmbase.security
Class ActionChecker.Rank

java.lang.Object
  extended by org.mmbase.security.ActionChecker.Rank
All Implemented Interfaces:
Serializable, ActionChecker
Enclosing interface:
ActionChecker

public static class ActionChecker.Rank
extends Object
implements ActionChecker

This basic implementation of ActionChecker checks the action only based on rank. A minimal rank is to be supplied in the constructor.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.mmbase.security.ActionChecker
ActionChecker.Rank
 
Field Summary
(package private)  Rank rank
           
 
Fields inherited from interface org.mmbase.security.ActionChecker
ALLOWS
 
Constructor Summary
ActionChecker.Rank(Rank r)
           
 
Method Summary
 boolean check(UserContext user, Action ac, Parameters parameters)
           
 Parameter[] getParameterDefinition()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rank

final Rank rank
Constructor Detail

ActionChecker.Rank

public ActionChecker.Rank(Rank r)
Method Detail

check

public boolean check(UserContext user,
                     Action ac,
                     Parameters parameters)
Specified by:
check in interface ActionChecker

getParameterDefinition

public Parameter[] getParameterDefinition()
Specified by:
getParameterDefinition in interface ActionChecker

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null