|
||||||||||
| 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()
RoleGetter for the role Principal.
getPrincipal in interface RolePrincipal.Role.getPrincipal()public void setPrincipal(java.security.Principal rolePrincipal)
RoleSetter for the role RolePrincipal.
setPrincipal in interface RolerolePrincipal - The Principal.Role.setPrincipal(java.security.Principal)public java.util.prefs.Preferences getPreferences()
RoleGetter for the role Preferences node, providing access to the
role preferences properties.
getPreferences in interface RolePreferences.Role.getPreferences()public void setPreferences(java.util.prefs.Preferences preferences)
RoleSetter for the role Preferences node, providing access to the
role preferences properties.
setPreferences in interface Rolepreferences - The Preferences.Role.setPreferences(java.util.prefs.Preferences)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||