Interface DynamicUser
- All Superinterfaces:
BasicUser
,SecurityEntity
,Serializable
,User
- All Known Implementing Classes:
DynamicUserImpl
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
Modifier and TypeMethodDescriptionGet the set of delegatees for this userGet 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 userMethods 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 Details
-
getDelegatees
Get the set of delegatees for this user- Type Parameters:
T
-- Returns:
- Returns the delegatees.
-
setDelegatees
Set the delegatees for this user- Parameters:
delegatees
- The delegatees to set.
-
getDelegators
Get the set of delegators for this user- Type Parameters:
T
-- Returns:
- Returns the delegators.
-
setDelegators
Set the delegators for this user- Parameters:
delegators
- The delegators to set.
-