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$
Author:
Eric Pugh
  • Method Details

    • 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.