Class DynamicACLFactory
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.fulcrum.security.spi.AbstractManager
-
- org.apache.fulcrum.security.model.dynamic.DynamicACLFactory
-
- All Implemented Interfaces:
org.apache.avalon.framework.activity.Disposable
,org.apache.avalon.framework.logger.LogEnabled
,org.apache.avalon.framework.service.Serviceable
,org.apache.avalon.framework.thread.ThreadSafe
,ACLFactory
public class DynamicACLFactory extends AbstractManager implements ACLFactory
This factory creates instance of the DynamicAccessControlList- Version:
- $Id$
- Author:
- Eric Pugh , Ben Gidley
-
-
Field Summary
-
Fields inherited from class org.apache.fulcrum.security.spi.AbstractManager
manager
-
Fields inherited from interface org.apache.fulcrum.security.model.ACLFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description DynamicACLFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends DynamicUser>
voidaddDelegators(DynamicUser user, Set<T> users)
Add delegators to the user list<T extends AccessControlList>
TgetAccessControlList(User user)
-
Methods inherited from class org.apache.fulcrum.security.spi.AbstractManager
dispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, service
-
-
-
-
Constructor Detail
-
DynamicACLFactory
public DynamicACLFactory()
-
-
Method Detail
-
getAccessControlList
public <T extends AccessControlList> T getAccessControlList(User user)
- Specified by:
getAccessControlList
in interfaceACLFactory
- See Also:
ACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User)
-
addDelegators
public <T extends DynamicUser> void addDelegators(DynamicUser user, Set<T> users)
Add delegators to the user list- Parameters:
user
- the user to add tousers
- the set of delegators
-
-