|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.components.repository.helpers.Principal
public class Principal
A Principal class to be used with a repository implementation.
| Constructor Summary | |
|---|---|
Principal(String name,
String group,
Set roles)
creates a Principal |
|
| Method Summary | |
|---|---|
String |
getGroup()
get the group name of the principal |
String |
getName()
get the name of the principal |
Set |
getRoles()
get the roles of the principal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Principal(String name,
String group,
Set roles)
name - the name of the principal.group - the group of the principal.roles - a Set containing the roles of the principal| Method Detail |
|---|
public String getName()
public String getGroup()
public Set getRoles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||