javax.wvcm
Interface AccessControlElement.Privilege

All Superinterfaces:
Resource
All Known Implementing Classes:
AccessControlElement.Privilege.GenericPrivilegeImpl, PrivilegeImpl
Enclosing class:
AccessControlElement

public static interface AccessControlElement.Privilege
extends Resource

NOT YET STANDARD

Privilege: A "privilege" controls access to a particular set of HTTP operations on a resource.

Aggregate Privilege: An "aggregate privilege" is a privilege that contains a set of other privileges.

Abstract Privilege The modifier "abstract", when applied to a privilege on a resource, means the privilege cannot be set in an access control element (ACE) on that resource .


Nested Class Summary
static class AccessControlElement.Privilege.GenericPrivilegeImpl
          NOT YET STANDARD Implementation of a generic Privilege.
 
Nested classes/interfaces inherited from interface javax.wvcm.Resource
Resource.GenericResourceImpl
 
Field Summary
static AccessControlElement.Privilege ALL
           
 
Method Summary
 void doCreateResource()
          Create a Privilege on the server.
 
Methods inherited from interface javax.wvcm.Resource
doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, getAttribute, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, location, removeAttribute, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setProperty
 

Field Detail

ALL

static final AccessControlElement.Privilege ALL
Method Detail

doCreateResource

void doCreateResource()
                      throws WvcmException
Create a Privilege on the server.

Throws:
WvcmException - Preconditions:
(resource-must-be-null): A resource MUST NOT exist at the location of this Resource.
(location-ok): The location of this Privilege MUST identify a valid location to create this Resource. A client can determine the location of folders that can contain Privileges from the PrivilegeFolderList property.
WvcmException - Postconditions:
(initialize-resource): A new Privilege resource exists at the location of this Resource.


Copyright (c) 2003 - Apache Software Foundation