| java.lang.Object org.apache.cocoon.components.repository.helpers.Principal
Principal | public class Principal (Code) | | A Principal class to be used with a repository implementation.
|
Principal | public Principal(String name, String group, Set roles)(Code) | | creates a Principal
Parameters: name - the name of the principal. Parameters: group - the group of the principal. Parameters: roles - a Set containing the roles of the principal |
getGroup | public String getGroup()(Code) | | get the group name of the principal
the group name of the principal. |
getName | public String getName()(Code) | | get the name of the principal
the name of the principal. |
getRoles | public Set getRoles()(Code) | | get the roles of the principal
A Set containing the roles of the principal. |
|
|