Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security.acl

Interface Group

java.lang.Object
|
+--java.security.Principal
   |
   +--java.security.acl.Group

All Implemented Interfaces:

Principal


public interface Group

implements Principal

This interface represents a group of Principals. Note that since this interface extends Principal, a Group can be used where ever a Principal is requested. This includes arguments to the methods in this interface.

Author:

Method Summary

booleanaddMember(java.security.Principal user)

This method adds a new Principal to this group.
booleanisMember(java.security.Principal member)

This method tests whether or not a given Principal is a member of this group.
java.util.Enumerationmembers()

This method returns a list of all members of the group as an Enumeration.
booleanremoveMember(java.security.Principal user)

This method deletes a member from the group.

Method Details

addMember

public boolean addMember(java.security.Principal user)

This method adds a new Principal to this group.

Parameters:

Returns:


isMember

public boolean isMember(java.security.Principal member)

This method tests whether or not a given Principal is a member of this group.

Parameters:

Returns:


members

public Enumeration members()

This method returns a list of all members of the group as an Enumeration.

Returns:


removeMember

public boolean removeMember(java.security.Principal user)

This method deletes a member from the group.

Parameters:

Returns: