accessControl
Can be used in
proxy, serviceProxy, soapProxy, transport, beans
Syntax
<accessControl file="path" />
Listing 1: accessControl Syntax
Sample
The following exapmle shows how to configure access control globally. Every request will be checked against the rules of the access control. The accessControl is placed into the transport of the beans configuration.
<beans> <transport coreThreadPoolSize="20"> <ruleMatching /> <dispatching /> <accessControl file="resources/acl/acl.xml" /> <userFeature /> <httpClient /> </transport> </beans>
Listing 2: accessControl Example
Attributes
Name | Mandatory | Default | Description | Example |
---|---|---|---|---|
file | yes | - | Locations of the ACL file | acl/acl.xml |