org.mmbase.security
Interface ActionChecker

All Superinterfaces:
Serializable
All Known Implementing Classes:
ActionChecker.Rank, RequestActionChecker

public interface ActionChecker
extends Serializable

A piece of 'action check' functionality. Provided by actions themselves, but security implementations can perhaps also use this interface to administer their implementation of Authorization.check(UserContext, Action, Parameters).

Since:
MMBase-1.9
Version:
$Id: ActionChecker.java 41989 2010-04-20 16:45:39Z michiel $
Author:
Michiel Meeuwissen

Nested Class Summary
static class ActionChecker.Rank
          This basic implementation of ActionChecker checks the action only based on rank.
 
Field Summary
static ActionChecker ALLOWS
          The ActionChecker that always allows every action to to everybody.
 
Method Summary
 boolean check(UserContext user, Action ac, Parameters parameters)
           
 Parameter[] getParameterDefinition()
           
 

Field Detail

ALLOWS

static final ActionChecker ALLOWS
The ActionChecker that always allows every action to to everybody.

Since:
MMBase-1.9.2
Method Detail

check

boolean check(UserContext user,
              Action ac,
              Parameters parameters)

getParameterDefinition

Parameter[] getParameterDefinition()


MMBase 2.0-SNAPSHOT - null