Go to new doc!

+49 228 5552576-0


info@predic8.com

accessControl

Description

Blocks requests whose origin TCP/IP address (hostname or IP address) is not allowed to access the requested resource.

Can be used in

spring:beans, if, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler

Syntax

		<accessControl file="path" />
Listing 1: accessControl Syntax

Sample

The following example 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.

			<router>
			  <transport coreThreadPoolSize="20">
			    <ruleMatching />
				<dispatching />
				
				<accessControl file="resources/acl/acl.xml" />
							
				<userFeature />
				<httpClient />
				
			  </transport>

			  <serviceProxy>
			  	[...]
			  </serviceProxy>
			</router>
Listing 2: accessControl Example

Attributes

Name Required Default Description Example
file true - Location of the ACL file. acl/acl.xml

See also