| java.lang.Object org.mmbase.security.Configurable
All known Subclasses: org.mmbase.security.ActionRepository, org.mmbase.security.Authorization, org.mmbase.security.Authentication,
Configurable | abstract public class Configurable (Code) | | Both Authorization and Authentication are configurable.
This class provides the shared functionality for that.
author: Eduard Witteveen author: Michiel Meeuwissen version: $Id: Configurable.java,v 1.13 2007/07/25 06:47:11 michiel Exp $ since: MMBase-1.7 |
Method Summary | |
final public void | load(MMBaseCop manager, ResourceWatcher configWatcher, String configPath) The method which initialized an instance of this class. | abstract protected void | load() This method should be overrided by an extending class. |
configResource | protected String configResource(Code) | | This specific security configuration file. The file is absolute. Might be
null if the implementation does not have its own configuruation file.
since: MMBase-1.8 |
configWatcher | protected ResourceWatcher configWatcher(Code) | | This filewatcher checks the configuration file for changes.
|
manager | protected MMBaseCop manager(Code) | | The SecurityManager, which created this instance
|
load | final public void load(MMBaseCop manager, ResourceWatcher configWatcher, String configPath)(Code) | | The method which initialized an instance of this class. This method cannot be be overrided.
This methods sets the member variables of this object and then
calls the method load();
Parameters: manager - The class that created this instance. Parameters: configWatcher - checks the files for changes Parameters: configPath - The url which contains the config information for the authorization (e.g. context/config.xml). Or null (if configured to be "") See Also: Configurable.load |
load | abstract protected void load()(Code) | | This method should be overrided 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.
|
|
|