ACL Web Service
Use
The access control list (ACL) defines the privileges (permission access rights) that particular principals have for a particular resource. Each ACL consists of access control entries (ACE). Each ACE controls or defines access to an object. The ACE objects contain information about a certain principal and its permissions to access given resource. The ACL Web service supports methods for the remote access to the KM ACLs functionality.
Prerequisites
The ACL Web service requires authentication so that only authenticated users can access the Web service's methods. By default, the Web service accepts basic authentication with user name and password or SAP logon tickets. If you want to use SAP Logon Tickets between two application servers, you need to configure a trusted relationship between the Application Server on which the Web service is running and the remote Application Server Java or ABAP system.
For more information about configuration of individual Web services, see Configuration of Individual Web Services and Web Service Clients and Configuring Individual Web Services .
For more information about configuring a trusted relationship, see the relevant documentation on the Web service infrastructure.
Features
You can use methods from the ACL Web service for the remote access to the ACL of KM resources. The web-service API covers methods for create, read, update, or delete an entire ACL.
The ACL Web service authenticates itself as the cmadmin_service user and therefore by default the ACL created by this Web service always has the cmadmin_service user set as Owner . The actual work is delegated to the private methods like internalCreateACL , internalDeleteACL , internal<XXX> . These methods help for getting rid of the code duplication.
The endpoint implementation is in the com.sap.netweaver.bc.rf.ws.acl.bean.AclBean class. The implementation is a facade for the IResourceAclManager and IAclSecurityManager basic functionality.
The exception handling is divided into several groups of problems. Each group is represented by a separate exception in the com.sap.netweaver.bc.rf.ws.acl.exceptions package. There are two types of resource ACL based on the ACL hierarchy - direct resource ACL and inherited resource ACL. The ACL Web service distinguishes both types of inheritance by a flag in the return type AclWrapper - isInherited . The method isAllowed takes into account the inheritance.
Web Service Location
The WSDL for the ACL Web service is located at http://<host>:<port>/sapws/sap.com/tc~kmc~bc.rf.ws~aclws~ear_sap.com~tc~kmc~bc.rf.ws~aclws~bean_EJB_AclBean/AclRemote/AclRemote?wsdl&mode=ws_policy . To get an initial overview of the Web service methods provided, you can use the Web Services Navigator, which you can access through the Application Server homepage. The Web Services Navigator shows all deployed Web services with their methods and allows you to test each method of the Web services. For more information about Web Services Navigator, see Testing Web Services in the Web Services Navigator .