All Implemented Interfaces:
Serializable, SecurityEntity, User, BasicUser, DynamicUser

public class DynamicUserImpl extends BasicUserImpl implements DynamicUser
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 437451 2006-08-27 20:20:44Z tv $
Author:
Eric Pugh
See Also:
  • Constructor Details

    • DynamicUserImpl

      public DynamicUserImpl()
  • Method Details

    • getDelegatees

      public <T extends User> Set<T> getDelegatees()
      Get the set of delegatees for this user
      Specified by:
      getDelegatees in interface DynamicUser
      Type Parameters:
      T -
      Returns:
      Returns the delegatees.
    • setDelegatees

      public <T extends User> void setDelegatees(Set<T> delegatees)
      Set the delegatees for this user
      Specified by:
      setDelegatees in interface DynamicUser
      Parameters:
      delegatees - The delegatees to set.
    • getDelegators

      public <T extends User> Set<T> getDelegators()
      Get the set of delegators for this user
      Specified by:
      getDelegators in interface DynamicUser
      Type Parameters:
      T -
      Returns:
      Returns the delegators.
    • setDelegators

      public <T extends User> void setDelegators(Set<T> delegators)
      Set the delegators for this user
      Specified by:
      setDelegators in interface DynamicUser
      Parameters:
      delegators - The delegators to set.