org.apache.jetspeed.security
Interface Group

All Known Implementing Classes:
GroupImpl

public interface Group

A group made of a GroupPrincipal and the group Preferences.

Author:
David Le Strat

Method Summary
 java.util.prefs.Preferences getPreferences()
          Getter for the group Preferences node, providing access to the group preferences properties.
 java.security.Principal getPrincipal()
          Getter for the group Principal.
 void setPreferences(java.util.prefs.Preferences preferences)
          Setter for the group Preferences node, providing access to the group preferences properties.
 void setPrincipal(java.security.Principal groupPrincipal)
          Setter for the group Principal.
 

Method Detail

getPrincipal

java.security.Principal getPrincipal()

Getter for the group Principal.

Returns:
The GroupPrincipal.

setPrincipal

void setPrincipal(java.security.Principal groupPrincipal)

Setter for the group Principal.

Parameters:
groupPrincipal - The Principal.

getPreferences

java.util.prefs.Preferences getPreferences()

Getter for the group Preferences node, providing access to the group preferences properties.

Returns:
The Preferences.

setPreferences

void setPreferences(java.util.prefs.Preferences preferences)

Setter for the group Preferences node, providing access to the group preferences properties.

Parameters:
preferences - The Preferences.


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.