Interface BasicAccessControlList

All Superinterfaces:
AccessControlList, Serializable
All Known Implementing Classes:
BasicAccessControlListImpl

public interface BasicAccessControlList extends Serializable, AccessControlList
This interface describes a control class that makes it easy to find out if a particular User has a given Permission. It also determines if a User has a a particular Role.
Version:
$Id$
Author:
Eric Pugh
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves all groups for a user
    boolean
    Checks if the user is assigned a specific Group
    boolean
    hasGroup(Group group)
    Checks if the user is assigned a specific Group
  • Method Details

    • getGroups

      GroupSet getGroups()
      Retrieves all groups for a user
      Returns:
      the set of Groups this user has
    • hasGroup

      boolean hasGroup(Group group)
      Checks if the user is assigned a specific Group
      Parameters:
      group - the Group
      Returns:
      true if the user is assigned to the Group
    • hasGroup

      boolean hasGroup(String group)
      Checks if the user is assigned a specific Group
      Parameters:
      group - the group name
      Returns:
      trueif the user is assigned the Group.