| Package | Description |
|---|---|
| com.sapportals.wcm.repository.security |
Contains interfaces for ACL security managers.
|
| com.sapportals.wcm.util.acl |
Contains interfaces for ACLs and AclManagers with definitions for permissions, ACLs and ACL entries.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IResourceAcl4Tx
An
IResourceAcl4Tx extends the IResourceAclRaw
by a method set(), which allows to (re)set the entries and
the owners of an ACL in one transaction. |
interface |
IResourceAclRaw
A
IResourceAclRaw is a IResourceAcl which is
also able to provide information about owners and entries for principals,
which have already been deleted. |
interface |
IResourceAclVersioned
A
IResourceAclVersioned is an IResourceAcl which also provides
the version of the acl. |
| Modifier and Type | Method and Description |
|---|---|
IResourceAcl |
IResourceAclManager.createAcl(IResource resource)
create a new ACL for a resource - initial owner is the user in the resource
context - inherited ACEs are added - if the resource inherits an ACL the
user must be an owner - fails, if the resource already has an ACL assigned
|
IResourceAcl |
IResourceAclManager4Tx.createAcl(IResource resource,
IResourceAclEntryList entries,
IUMPrincipalList owners)
Deprecated.
As of NetWeaver 7.1 replaced by
IResourceAclManager4Tx.createAcl(IResource, IResourceAclEntryList, List) |
IResourceAcl |
IResourceAclManager4Tx.createAcl(IResource resource,
IResourceAclEntryList entries,
List owners)
create a new ACL for a resource - initial owner is the user in the resource
context - inherited ACEs are added - if the resource inherits an ACL the
user must be an owner - fails, if the resource already has an ACL assigned
|
IResourceAcl |
IResourceAclManager.getAcl(IResource resource)
get the ACL of a specific resource
|
IResourceAcl |
IResourceAclManagerRaw.getAclRaw(IResource resource)
Get the - potentially raw - ACL of a specific resource.
|
IResourceAcl |
IResourceAclManager.getInheritedAcl(IResource resource)
get the ACL that a resource inherits by its ancestors
|
| Modifier and Type | Method and Description |
|---|---|
boolean[] |
IResourceAclManager.areAclsUpToDate(IResourceAcl[] acls)
check whether the ACLs are up to date (compared to the database)
|
boolean |
IResourceAclManager.assignForeignAcl(IResourceAcl foreignAcl,
IResource resource)
assign an ACL from a foreign IResourceAclManager to a local resource -
foreign ACEs which hold permissions that are not supported by the local
IResourceAclManager are ignored - locally inherited ACEs are added - the
owners are maintained - if the resource inherits an ACL the user must be an
owner - fails, if the resource already has an ACL assigned
|
boolean |
IResourceAclManager.removeAcl(IResourceAcl acl)
remove an ACL
|
| Modifier and Type | Method and Description |
|---|---|
IResourceAcl |
AclPrinter.getAcl(IResource resource)
Returns the (direct) ACL of a resource or null if no ACL is assigned for this resource.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AclPrinter.printAcl(IResourceAcl acl,
int parameterBits)
Returns a String representing the specified ACL in the following schema:
ACL[RID:/documents/Test, LOCKINGUSER:principal, ENTRIES:{<principal:permission, 1>, <principal:permission, 2>}, OWNERS:{principal, principal}] The schema can be modified via the bit constants ENTRY_DETAILED, PRINCIPAL_UNIQUEID, PRINT_LOCKING_USER and PRINT_RESOURCE_RID. |
Copyright 2017 SAP AG Complete Copyright Notice