Interface DynamicUser
- All Superinterfaces:
BasicUser
,SecurityEntity
,Serializable
,User
- All Known Implementing Classes:
DynamicUserImpl
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: DynamicUser.java 1884679 2020-12-21 12:56:47Z gk $
- Author:
- Eric Pugh
-
Method Summary
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 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
-
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.
-