org.apache.jetspeed.security.impl
Class GroupImpl
java.lang.Object
org.apache.jetspeed.security.impl.GroupImpl
- All Implemented Interfaces:
- org.apache.jetspeed.security.Group
public class GroupImpl
- extends Object
- implements org.apache.jetspeed.security.Group
A group made of a GroupPrincipal
and the user Preferences
.
- Author:
- David Le Strat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groupPrincipal
private Principal groupPrincipal
preferences
private Preferences preferences
GroupImpl
public GroupImpl()
Default constructor.
GroupImpl
public GroupImpl(Principal groupPrincipal,
Preferences preferences)
Group
constructor given a group principal and preferences.
- Parameters:
groupPrincipal
- The group principal.preferences
- The preferences.
getPrincipal
public Principal getPrincipal()
- Specified by:
getPrincipal
in interface org.apache.jetspeed.security.Group
- See Also:
Group.getPrincipal()
setPrincipal
public void setPrincipal(Principal groupPrincipal)
- Specified by:
setPrincipal
in interface org.apache.jetspeed.security.Group
- See Also:
Group.setPrincipal(java.security.Principal)
getPreferences
public Preferences getPreferences()
- Specified by:
getPreferences
in interface org.apache.jetspeed.security.Group
- See Also:
Group.getPreferences()
setPreferences
public void setPreferences(Preferences preferences)
- Specified by:
setPreferences
in interface org.apache.jetspeed.security.Group
- See Also:
Group.setPreferences(java.util.prefs.Preferences)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.