Interface DynamicUser
-
- All Superinterfaces:
BasicUser
,SecurityEntity
,Serializable
,User
- All Known Implementing Classes:
BaseTorqueDynamicUser
,DynamicUserImpl
,TorqueAbstractDynamicUser
,TorqueDynamicUser
public interface DynamicUser extends BasicUser
Represents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships. Users have a set of delegates and delegatee's. If user A has B in their delegates - B assumes A's groups,roles and permissions If user C has D in their delegatees - C assumes D's groups,roles and permissions- Version:
- $Id$
- Author:
- Eric Pugh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends User>
Set<T>getDelegatees()
Get the set of delegatees for this user<T extends User>
Set<T>getDelegators()
Get the set of delegators for this user<T extends User>
voidsetDelegatees(Set<T> delegatees)
Set the delegatees for this user<T extends User>
voidsetDelegators(Set<T> delegators)
Set the delegators for this user-
Methods inherited from interface org.apache.fulcrum.security.model.basic.entity.BasicUser
addGroup, getGroups, getGroupsAsSet, removeGroup, setGroups, setGroupsAsSet
-
Methods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Methods inherited from interface org.apache.fulcrum.security.entity.User
getPassword, setPassword
-
-
-
-
Method Detail
-
getDelegatees
<T extends User> Set<T> getDelegatees()
Get the set of delegatees for this user- Type Parameters:
T
-- Returns:
- Returns the delegatees.
-
setDelegatees
<T extends User> void setDelegatees(Set<T> delegatees)
Set the delegatees for this user- Parameters:
delegatees
- The delegatees to set.
-
getDelegators
<T extends User> Set<T> getDelegators()
Get the set of delegators for this user- Type Parameters:
T
-- Returns:
- Returns the delegators.
-
setDelegators
<T extends User> void setDelegators(Set<T> delegators)
Set the delegators for this user- Parameters:
delegators
- The delegators to set.
-
-