|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.impl.RoleImpl
public class RoleImpl
A role made of a Principal
and the user Preferences
.
Constructor Summary | |
---|---|
RoleImpl()
Default constructor. |
|
RoleImpl(java.security.Principal rolePrincipal,
java.util.prefs.Preferences preferences)
Role constructor given a role principal and preferences. |
Method Summary | |
---|---|
java.util.prefs.Preferences |
getPreferences()
Getter for the role Preferences node, providing access to the
role preferences properties. |
java.security.Principal |
getPrincipal()
Getter for the role Principal . |
void |
setPreferences(java.util.prefs.Preferences preferences)
Setter for the role Preferences node, providing access to the
role preferences properties. |
void |
setPrincipal(java.security.Principal rolePrincipal)
Setter for the role RolePrincipal . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleImpl()
Default constructor.
public RoleImpl(java.security.Principal rolePrincipal, java.util.prefs.Preferences preferences)
Role
constructor given a role principal and preferences.
rolePrincipal
- The role principal.preferences
- The preferences.Method Detail |
---|
public java.security.Principal getPrincipal()
Role
Getter for the role Principal
.
getPrincipal
in interface Role
Principal
.Role.getPrincipal()
public void setPrincipal(java.security.Principal rolePrincipal)
Role
Setter for the role RolePrincipal
.
setPrincipal
in interface Role
rolePrincipal
- The Principal
.Role.setPrincipal(java.security.Principal)
public java.util.prefs.Preferences getPreferences()
Role
Getter for the role Preferences
node, providing access to the
role preferences properties.
getPreferences
in interface Role
Preferences
.Role.getPreferences()
public void setPreferences(java.util.prefs.Preferences preferences)
Role
Setter for the role Preferences
node, providing access to the
role preferences properties.
setPreferences
in interface Role
preferences
- The Preferences
.Role.setPreferences(java.util.prefs.Preferences)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |