org.apache.lenya.ac
Interface AccreditableManager

All Superinterfaces:
org.apache.avalon.framework.component.Component

public interface AccreditableManager
extends org.apache.avalon.framework.component.Component

An AccreditableManager combines a UserManager, a GroupManager, an IPRangeManager and a RoleManager.

Version:
$Id: AccreditableManager.java 499016 2007-01-23 13:18:39Z andreas $

Field Summary
static java.lang.String ROLE
          Avalon role.
 
Method Summary
 void addItemManagerListener(ItemManagerListener listener)
          Attaches an item manager listener to this accreditable manager.
 java.lang.String getConfigurationCollectionUri()
           
 GroupManager getGroupManager()
          Returns the group manager of this access controller.
 java.lang.String getId()
           
 IPRangeManager getIPRangeManager()
          Returns the IP range manager of this access controller.
 RoleManager getRoleManager()
          Returns the role manager of this access controller.
 UserManager getUserManager()
          Returns the user manager of this access controller.
 void removeItemManagerListener(ItemManagerListener listener)
          Removes an item manager listener from this accreditable manager.
 

Field Detail

ROLE

static final java.lang.String ROLE
Avalon role.

Method Detail

getUserManager

UserManager getUserManager()
                           throws AccessControlException
Returns the user manager of this access controller.

Returns:
A user manager.
Throws:
AccessControlException - when something went wrong.

getGroupManager

GroupManager getGroupManager()
                             throws AccessControlException
Returns the group manager of this access controller.

Returns:
A group manager.
Throws:
AccessControlException - when something went wrong.

getRoleManager

RoleManager getRoleManager()
                           throws AccessControlException
Returns the role manager of this access controller.

Returns:
A role manager.
Throws:
AccessControlException - when something went wrong.

getIPRangeManager

IPRangeManager getIPRangeManager()
                                 throws AccessControlException
Returns the IP range manager of this access controller.

Returns:
An IP range manager.
Throws:
AccessControlException - when something went wrong.

addItemManagerListener

void addItemManagerListener(ItemManagerListener listener)
Attaches an item manager listener to this accreditable manager.

Parameters:
listener - An item manager listener.

removeItemManagerListener

void removeItemManagerListener(ItemManagerListener listener)
Removes an item manager listener from this accreditable manager.

Parameters:
listener - An item manager listener.

getConfigurationCollectionUri

java.lang.String getConfigurationCollectionUri()
Returns:
A source URI to store configuration sources. This URI must point to a collection.

getId

java.lang.String getId()
Returns:
The unique ID of this accreditable manager. It is used to check if two accreditables belong to the same accreditable manager.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.