org.mmbase.security
Class MemoryActionRepository
java.lang.Object
org.mmbase.security.Configurable
org.mmbase.security.ActionRepository
org.mmbase.security.MemoryActionRepository
public class MemoryActionRepository
- extends ActionRepository
This is the most simple way to store 'actions', namely straightforwardly in memory. Config files may fill
this repository on startup.
- Since:
- MMBase-1.9
- Version:
- $Id: MemoryActionRepository.java 41989 2010-04-20 16:45:39Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryActionRepository
public MemoryActionRepository()
load
public void load()
- Description copied from class:
Configurable
- This method should be overridden by an extending class. It should further initialize the
class. It can optionally retrieve settings from the general security configuration file
(available as the 'configResource' member). Security implementations with complicated
configuration would typically retrieve a path to their own configuration file only.
- Specified by:
load in class Configurable
add
public void add(Action a)
- Description copied from class:
ActionRepository
- Adds the action to the repository using
Action.getNameSpace() and Action.getName().
- Specified by:
add in class ActionRepository
get
public Map<String,Action> get(String nameSpace)
- Description copied from class:
ActionRepository
- All actions of a certain namespace.
- Specified by:
get in class ActionRepository
getActions
public Collection<Action> getActions()
- Description copied from class:
ActionRepository
- All actions managed by this repository
- Specified by:
getActions in class ActionRepository
MMBase 2.0-SNAPSHOT - null