public interface IAce
IPrivilege
s,
a Access Control Entry (part of an Access Control List, see
WDAcl
).
A IAce has the following properties:
IPrivilege
sCopyright (c) SAP AG 2001-2005
Modifier and Type | Field and Description |
---|---|
static int |
DENY
Type of ACE is denying privileges to principal
|
static int |
GRANT
Type of ACE is granting privileges to principal
|
Modifier and Type | Method and Description |
---|---|
IPrincipal |
getPrincipal()
Returns the principal whose access is controlled
|
Set |
getPrivileges()
Returns the List of privileges which are granted or denied
|
int |
getType()
Returns if this entry is GRANT or DENY
|
boolean |
grants(IPrivilege privilege)
Determine if privilege is granted by this ace
|
boolean |
isGrant()
Returns if this entry is GRANT
|
boolean |
isInherited()
Returns if this entry was inherited from another resource
|
boolean |
isReadOnly()
Returns if this entry is protected, e.g. cannot be changed.
|
Element |
toElement(Document doc,
IHierarchicalUri servletUri)
Return a DOM Element representing this ACE as defined in the
WebDAV Accesss Control Protocol Specification
|
static final int GRANT
static final int DENY
IPrincipal getPrincipal()
Set getPrivileges()
int getType()
boolean grants(IPrivilege privilege)
privilege
- to check forboolean isGrant()
boolean isInherited()
boolean isReadOnly()
Element toElement(Document doc, IHierarchicalUri servletUri)
doc
- the DOM Document to create the Element inservletUri
- base URI of servletAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice