|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.ResourceImpl
org.apache.wvcm.PrincipalImpl
public class PrincipalImpl
Implementation of Principal.
Nested Class Summary | |
---|---|
static class |
PrincipalImpl.GroupImpl
Implementation of a group |
static class |
PrincipalImpl.RoleImpl
Implementation of a Role |
Nested classes/interfaces inherited from class org.apache.wvcm.ResourceImpl |
---|
ResourceImpl.LoadedProperties, ResourceImpl.XmlPropertyValue |
Nested classes/interfaces inherited from interface javax.wvcm.Principal |
---|
Principal.GenericPrincipalImpl, Principal.Group, Principal.Role |
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.GenericResourceImpl |
Field Summary |
---|
Fields inherited from class org.apache.wvcm.ResourceImpl |
---|
dnsp, MISSING_PROPERTY_VALUE |
Fields inherited from interface javax.wvcm.Principal |
---|
ALL, AUTHENTICATED, OWNER, SELF, UNAUTHENTICATED |
Constructor Summary | |
---|---|
PrincipalImpl(Location location)
Constructor |
Method Summary | |
---|---|
void |
doCreateResource()
Create an Principal on the server. |
java.util.List |
getGroupMembership()
Get the list of groups (Principal.Group) in which the principal is directly a member. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrincipalImpl(Location location)
Method Detail |
---|
public void doCreateResource() throws WvcmException
doCreateResource
in interface Principal
WvcmException
- Preconditions:
WvcmException
- Postconditions:
public java.util.List getGroupMembership() throws WvcmException
getGroupMembership
in interface Principal
WvcmException
- if this principal was not created with
PropertyNameList.PropertyName.GROUP_MEMBERSHIP
as a wanted property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |