+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, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy and transport

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

Copyright © 2008-2015 predic8 GmbH
Moltkestr. 40, 53173 Bonn, Tel. +49 (228) 555 25 76-0