Interface NamedGroup

All Superinterfaces:
Principal

public interface NamedGroup extends Principal
An interface to represent a named group of principals.
Author:
Darran Lofthouse
  • Method Details

    • isMember

      boolean isMember(Principal member)
      Check if the supplied Principal is a member of this group.
      Parameters:
      member - The Principal to check for group membership.
      Returns:
      true if the supplied Principal is a member of this group, otherwise false.
    • members

      Enumeration<? extends Principal> members()
      Return an Enumeration of the Principal instances in this group.
      Returns:
      an Enumeration of the Principal instances in this group.