|
SAP NetWeaver '04 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AclPersistenceException | |
| 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. |
| Uses of AclPersistenceException in com.sapportals.wcm.repository.security |
| Methods in com.sapportals.wcm.repository.security that throw AclPersistenceException | |
boolean |
IResourceAcl.addOwner(com.sapportals.wcm.repository.security.IUMPrincipal owner)
add a new owner to the ACL (only owners are allowed to change the ACL) |
boolean |
IResourceAcl.removeOwner(com.sapportals.wcm.repository.security.IUMPrincipal owner)
remove an owner from the ACL (only owners are allowed to change the ACL) |
boolean |
IResourceAcl.isOwner(com.sapportals.wcm.repository.security.IUMPrincipal principal)
check whether a principal is an owner of the ACL |
boolean |
IResourceAcl.isAuthorized(com.sapportals.wcm.repository.security.IUMPrincipal principal)
check whether a principal is authorized to change the ACL |
IUMPrincipalList |
IResourceAcl.getOwners()
get a list of the owners of the ACL |
boolean |
IResourceAcl.addEntry(IResourceAclEntry aclEntry)
add an ACE to the ACL |
boolean |
IResourceAcl.removeEntry(IResourceAclEntry aclEntry)
remove an ACE from the ACL |
IResourceAclEntryList |
IResourceAcl.getEntries()
get a list of the ACEs of the ACL |
IResourceAclEntryList |
IResourceAcl.getEntries(com.sapportals.wcm.repository.security.IUMPrincipal principal)
get a list of the ACEs of the ACL concerning a specific principal |
boolean |
IResourceAcl.checkPermission(com.sapportals.wcm.repository.security.IUMPrincipal principal,
IAclPermission permission)
check whether the ACL grants a specific permission to a user |
boolean |
IResourceAcl.isReadOnly()
check whether the ACL is read only |
IResource |
IResourceAcl.getResource()
get the resource the ACL is assigned to |
boolean |
IResourceAcl.lock()
lock the ACL (the lock is cooperative and affects only the result of subsequent calls to lock() or isLocked()) |
boolean |
IResourceAcl.isLocked()
check whether the ACL is locked |
com.sapportals.wcm.repository.security.IUMPrincipal |
IResourceAcl.getLockingUser()
get the user which locked the ACL |
void |
IResourceAcl.unlock()
unlock the ACL |
boolean |
IResourceAcl.isUpToDate()
check whether the ACL is up to date (check change level of persisted ACL) (used to invalidate ACL caches) |
IResourceAclEntry |
IResourceAclManager.createAclEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
boolean negative,
IAclPermission permission,
int sortIndex)
create a new ACE for an ACL to grant or deny a permission to a principal |
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 |
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 |
IResourceAcl |
IResourceAclManager.getAcl(IResource resource)
get the ACL of a specific resource |
IResourceAcl |
IResourceAclManager.getInheritedAcl(IResource resource)
get the ACL that a resource inherits by its ancestors |
boolean |
IResourceAclManager.removeAcl(IResource resource)
remove the ACL of a specific resource |
boolean |
IResourceAclManager.removeAcl(IResourceAcl acl)
remove an ACL |
IObjectTypeList |
IResourceAclManager.getSupportedObjectTypes()
get a list of object types which are supported by the IResourceAclManager for resources |
IObjectType |
IResourceAclManager.getObjectType(IResource resource)
get the object type of a resource |
IAclPermissionList |
IResourceAclManager.getSupportedPermissions(IResource resource)
get a list of permissions which are supported by the IResourceAclManager for a specific resource |
IAclPermission |
IResourceAclManager.getPermission(java.lang.String name)
get the IAclPermission object of the (supported) permission with a given name |
boolean |
IResourceAclManager.addSupportedPermission(IObjectType objectType,
IAclPermission permission)
assign a permission to an object type |
boolean |
IResourceAclManager.removeSupportedPermission(IObjectType objectType,
IAclPermission permission)
remove the assignment of a permission to an object type - a supported permission can only be removed if it is not predefined and not used in an ACL |
IAclPermission |
IResourceAclManager.createPermission(java.lang.String name)
create a new permission (the permission can not be used until it is assigned to an object type by calling the addSupportedPermission() method) |
boolean |
IResourceAclManager.removePermission(IAclPermission permission)
remove a permission - a permission can only be removed if it is not predefined and not used in an ACL |
boolean |
IResourceAclManager.isPermissionUsedInAcl(IAclPermission permission)
check whether a permission is used in an ACL |
boolean |
IResourceAclManager.isReadOnly()
check whether the IResourceAclManager is read only (no creation or modification of ACLs is allowed) |
boolean[] |
IResourceAclManager.areAclsUpToDate(IResourceAcl[] acls)
check whether the ACLs are up to date (compared to the database) |
IResourceList |
IResourceAclManager.propagateAcl_Remove(IResource resource)
remove the ACLs of the descendants of the resource |
IUMPrincipalList |
IResourceAclRaw.getOwnersRaw()
Get a list of ACL-owners. |
IResourceAclEntryList |
IResourceAclRaw.getEntriesRaw()
Get a list of ACEs. |
IAclPermission |
IResourceAclEntry.getPermission()
get the permission of the ACE |
boolean |
IResourceAclEntry.checkPermission(IAclPermission permission)
check whether some permission is covered by the permission of the ACE |
boolean |
IResourceAclEntry.isNegative()
check whether the ACE denies its permission |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
IResourceAclEntry.getPrincipal()
get the principal of the ACE |
boolean |
IResourceAclEntry.isReadOnly()
check wether the ACE is read only |
int |
IResourceAclEntry.getSortIndex()
get the sort index of the ACE - the sequence of the ACEs in the ACL is controlled by the sort indices - the sequence is only relevant if the IResourceAclManager supports negative ACEs (check with the areNegativeAclEntriesSupported() method) |
void |
IResourceAclEntry.setSortIndex(int sortIndex)
set the sort index of the ACE |
IResourceAcl |
IResourceAclManagerRaw.getAclRaw(IResource resource)
Get the - potentially raw - ACL of a specific resource. |
| Uses of AclPersistenceException in com.sapportals.wcm.util.acl |
| Methods in com.sapportals.wcm.util.acl that throw AclPersistenceException | |
IAcl |
IAclManagerRaw.getAclRaw(java.lang.String aclID,
long contextDBVersion)
Get a specific ACL, which might be a IAclRaw. |
IAcl[] |
IAclManagerRaw.getAclsRaw(java.lang.String[] aclIDs)
Get several ACLs, some of them might be IAclRaws or
null. |
IAclEntry |
IAclManager.createAclEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
boolean negative,
IAclPermission permission,
int sortIndex,
boolean propagate)
create a new ACE to grant or deny a permission to a principal |
IAcl |
IAclManager.createAcl(com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
java.lang.String aclID,
IObjectType objectType)
create a new ACL |
IAcl |
IAclManager.getAcl(java.lang.String aclID,
long contextDBVersion)
get a specific ACL |
IAcl[] |
IAclManager.getAcls(java.lang.String[] aclIDs)
get multiple ACLs; set the ACLs as values of the HashMap; if no ACL is assigned to an ID the value will be null |
boolean[] |
IAclManager.checkPermissions(IAcl[] acls,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
IAclPermission[] permissions)
check multiple ACL permissions |
boolean |
IAclManager.removeAcl(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
java.lang.String aclID)
remove a specific ACL |
boolean |
IAclManager.removeAcl(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAcl acl)
remove a specific ACL |
void |
IAclManager.deletePrincipal(java.lang.String principalID,
int principalType)
delete a principal - delete all ACEs which are subject to this principal - remove the principal from all ACL owner lists - if the principal is the last owner of an ACL, remove the ACL |
void |
IAclManager.updatePrincipal(java.lang.String principalID,
int principalType)
update a principal - remove related entries from caches |
IObjectTypeList |
IAclManager.getSupportedObjectTypes()
get a list of supported object types |
IAclPermissionList |
IAclManager.getSupportedPermissions(IObjectType objectType)
get a list of permissions which are supported for a specific object type |
IAclPermission |
IAclManager.getPermission(java.lang.String name)
get the IAclPermission object of the (supported) permission with a given name |
boolean |
IAclManager.addSupportedPermission(IObjectType objectType,
IAclPermission permission)
assign a permission to an object type |
boolean |
IAclManager.removeSupportedPermission(IObjectType objectType,
IAclPermission permission)
remove the assignment of a permission to an object type |
IAclPermission |
IAclManager.createPermission(java.lang.String name)
create a new permission (the permission can not be used until it is assigned to an object type by calling the addSupportedPermission() method) |
boolean |
IAclManager.removePermission(IAclPermission permission)
remove a permission - a permission can only be removed if it is not predefined and not used in an ACL |
boolean |
IAclManager.isPermissionUsedInAcl(IAclPermission permission)
check whether a permission is used in an ACL |
java.util.List |
IAclManager.getAffectedAclIDs(IAclPermission permission)
get a list of all IDs of ACLs which use a permission |
boolean |
IAclManager.changeAclID(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAcl acl,
java.lang.String newID)
change the ID of an ACL ("rename") |
void |
IAclManager.changeMultipleAclIDs(java.lang.String oldAclIdPrefix,
java.lang.String newAclIdPrefix)
change the ID of multiple ACLs ("recursive rename") - does not change the root ACL (call changeAclID() for the root node previously to change the root ACL and to check for authorization) |
void |
IAclManager.removeMultipleAcls(java.lang.String aclIdPrefix)
remove multiple ACLs ("recursive deletion") - does not remove the root ACL (call removeAcl() for the root node previously to remove the root ACL and to check for authorization) |
boolean |
IAclManager.isReadOnly()
check whether IAclManager is read only (no creation or modification of ACLs is allowed) |
boolean[] |
IAclManager.areAclsUpToDate(IAcl[] acls)
check whether the ACLs are up to date (compared to the database) |
boolean |
IOwner.addOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
add a new owner to the list |
boolean |
IOwner.removeOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
remove an owner from the list |
boolean |
IOwner.isOwner(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
check whether a principal is part of the owner list of the ACL |
boolean |
IOwner.isAuthorized(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
check whether a principal is an owner or a member of some owner group/role of the ACL |
IUMPrincipalList |
IOwner.getOwners()
get a list of the owners of the ACL |
java.lang.String |
AclPermissionImpl.getDescription()
|
java.lang.String |
AclPermissionImpl.getDescription(java.util.Locale locale)
|
int |
AclPermissionImpl.getSortIndex()
|
boolean |
IAclPermission.isAtomic()
check whether the present permission has no members |
boolean |
IAclPermission.isMember(IAclPermission permission)
check whether some permission is a member of the present permission |
IAclPermissionList |
IAclPermission.getMembers()
get a list of the members of the present permission |
boolean |
IAclPermission.addMember(IAclPermission permission)
add some permission as a new member to the present permission |
boolean |
IAclPermission.removeMember(IAclPermission permission)
remove a member from the present permission |
boolean |
IAclPermission.isPredefined()
check whether the present permission is predefined |
boolean |
IAclPermission.isContained(IAclPermission permission)
check whether a permission and all of its members are contained in the present permission |
java.lang.String |
IAclPermission.getName()
get the name of the permission |
java.lang.String |
IAclPermission.getDescription()
get the description of the permission |
java.lang.String |
IAclPermission.getDescription(java.util.Locale locale)
|
int |
IAclPermission.getSortIndex()
get the sort index of the permission (for display in a control) |
boolean |
IAclPermission.equals(IAclPermission permission)
check whether some permission equals the present permission |
boolean |
IAcl.addEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAclEntry aclEntry)
add an ACE to the ACL |
boolean |
IAcl.removeEntry(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
IAclEntry aclEntry)
remove an ACE from the ACL |
IAclEntryList |
IAcl.getEntries()
get the ACEs of the ACL |
IAclEntryList |
IAcl.getEntries(com.sapportals.portal.security.usermanagement.IUMPrincipal principal)
get the ACEs of the ACL concerning a specific principal |
boolean |
IAcl.checkPermission(com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
IAclPermission permission)
check whether the ACL grants a specific permission to a user |
boolean |
IAcl.lock(com.sapportals.portal.security.usermanagement.IUMPrincipal caller)
lock the ACL (the lock is cooperative and affects only the result of subsequent calls to lock() or isLocked()) |
boolean |
IAcl.isLocked()
check whether the ACL is locked |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
IAcl.getLockingUser()
get the user which locked the ACL |
void |
IAcl.unlock(com.sapportals.portal.security.usermanagement.IUMPrincipal caller)
unlock the ACL |
boolean |
IAcl.hasDescendantsWithAcl(java.lang.String postFix)
check whether the ACl has descendants that have an ACL too |
java.util.List |
IAcl.getDescendantsWithAcl(java.lang.String postFix)
get a list of all IDs of the descendants of the ACL that have an ACL too |
boolean |
IAcl.isReadOnly()
check whether the ACL is read only |
boolean |
IAcl.isUpToDate()
check whether the ACL is up to date (check change level of persisted ACL) (used to invalidate ACL caches) |
IAclPermission |
IAclEntry.getPermission()
get the permission of the ACE |
boolean |
IAclEntry.checkPermission(IAclPermission permission)
check whether some permission is covered by the permission of the ACE |
boolean |
IAclEntry.isNegative()
check whether the ACE denies its permission |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
IAclEntry.getPrincipal()
get the principal of the ACE |
int |
IAclEntry.getSortIndex()
get the sort index of the ACE - the sequence of the ACEs in the ACL is controlled by the sort indices |
void |
IAclEntry.setSortIndex(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
int sortIndex)
set the sort index of the ACE |
boolean |
IAclEntry.isPropagated()
get the propagation flag of the ACE - propagation is no task of the basic acl package - only the flag is persisted |
void |
IAclEntry.setPropagation(com.sapportals.portal.security.usermanagement.IUMPrincipal caller,
boolean propagate)
set the propagation flag of the ACE - propagation is no task of the basic acl package - only the flag is persisted |
boolean |
IAclEntry.isReadOnly()
check wether the ACE is read only |
IUMPrincipalList |
IAclRaw.getOwnersRaw()
Get a list of the owners of the ACL. |
IAclEntryList |
IAclRaw.getEntriesRaw()
Get the ACEs of the ACL. |
IAclManager |
AclManagerFactory.getAclManager(java.lang.String factoryConfig)
|
IAclManager |
AclManagerFactory.getAclManager(java.lang.String factoryConfig,
IClusterCacheArea cacheArea)
|
|
SAP NetWeaver '04 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||