|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Principal
NOT YET STANDARD
A "principal" is a distinct human or computational actor that initiates access to network resources. In this protocol, a principal is an HTTP resource that represents such an actor.
See section 2 of RFCxxxx (WebDAV ACL).
Nested Class Summary | |
---|---|
static class |
Principal.GenericPrincipalImpl
NOT YET STANDARD Implementation of a generic Principal. |
static interface |
Principal.Group
NOT YET STANDARD A "group" is a principal that represents a set of other principals. |
static interface |
Principal.Role
NOT YET STANDARD A "role" is a principal that represents a set of other principals. |
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.GenericResourceImpl |
Field Summary | |
---|---|
static Principal |
ALL
|
static Principal |
AUTHENTICATED
|
static Principal |
OWNER
|
static Principal |
SELF
|
static Principal |
UNAUTHENTICATED
|
Method Summary | |
---|---|
void |
doCreateResource()
Create a Principal on the server. |
java.util.List |
getGroupMembership()
Get the list of groups (Principal.Group) in which the principal is directly a member. |
Field Detail |
---|
static final Principal ALL
static final Principal SELF
static final Principal OWNER
static final Principal AUTHENTICATED
static final Principal UNAUTHENTICATED
Method Detail |
---|
void doCreateResource() throws WvcmException
WvcmException
- Preconditions:
WvcmException
- Postconditions:
java.util.List getGroupMembership() throws WvcmException
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 |