Schnittstelle BasicAccessControlList

Alle Superschnittstellen:
AccessControlList, Serializable
Alle bekannten Implementierungsklassen:
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$
Autor:
Eric Pugh
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    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
  • Methodendetails

    • getGroups

      GroupSet getGroups()
      Retrieves all groups for a user
      Gibt zurück:
      the set of Groups this user has
    • hasGroup

      boolean hasGroup(Group group)
      Checks if the user is assigned a specific Group
      Parameter:
      group - the Group
      Gibt zurück:
      true if the user is assigned to the Group
    • hasGroup

      boolean hasGroup(String group)
      Checks if the user is assigned a specific Group
      Parameter:
      group - the group name
      Gibt zurück:
      trueif the user is assigned the Group.