jhomenet.server.auth
Interface Group

All Known Implementing Classes:
UserGroup

public interface Group

The group interface is used to manage users in the jHomeNet system.

Note: this class is still under development.

Id: $Id: $

Author:
Dave Irwin (jhomenet at gmail dot com)

Method Summary
 boolean addMember(Principal user)
          Adds the specified member to the group.
 boolean isMember(Principal member)
          Returns true if the passed principal is a member of the group.
 java.util.List<Principal> members()
          Returns an enumeration of the members in the group.
 boolean removeMember(Principal user)
          Removes the specified member from the group.
 

Method Detail

addMember

boolean addMember(Principal user)
Adds the specified member to the group.

Parameters:
user -
Returns:

isMember

boolean isMember(Principal member)
Returns true if the passed principal is a member of the group.

Parameters:
member -
Returns:

members

java.util.List<Principal> members()
Returns an enumeration of the members in the group.

Returns:

removeMember

boolean removeMember(Principal user)
Removes the specified member from the group.

Parameters:
user -
Returns:


Copyright © 2004-2007 David Irwin. All Rights Reserved.