Class DynamicUserImpl

  • 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:
    Serialized Form
    • Constructor Detail

      • DynamicUserImpl

        public DynamicUserImpl()
    • Method Detail

      • getDelegatees

        public <T extends UserSet<T> getDelegatees()
        Get the set of delegatees for this user
        Specified by:
        getDelegatees in interface DynamicUser
        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 UserSet<T> getDelegators()
        Get the set of delegators for this user
        Specified by:
        getDelegators in interface DynamicUser
        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.