Go to new doc!

+49 228 5552576-0


info@predic8.com

xmlProtection

Can be used in

proxy, serviceProxy, soapProxy, transport

Syntax

				<xmlProtection removeDTD="boolean"
					maxElementNameLength="integer" maxAttibuteCount="integer" />
			
Listing 1: xmlProtection Syntax

Sample

				<beans>
					<transport coreThreadPoolSize="20">
						<ruleMatching />
						<dispatching />
						<userFeature />
			
						<xmlProtection />
			
						<httpClient />
					</transport>
				</beans>
			
Listing 2: xmlProtection Example

Attributes

Name Mandatory Default Description
removeDTD no true Whether to remove the DTD from incoming requests.
maxElementNameLength no 1000 If an incoming request exceeds this limit, it will be discarded.
maxAttibuteCount no 1000 If an incoming request exceeds this limit, it will be discarded.

See also

XML Protection sample.