+49 228 5552576-0


info@predic8.com

basicAuthentication

Description

Blocks requests which do not have the correct RFC 1945 basic authentication credentials (HTTP header "Authentication: Basic ....").

Can be used in

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

Syntax

				<basicAuthentication>
					<user >*
				</basicAuthentication>
			
Listing 1: basicAuthentication Syntax

Sample

				<serviceProxy>
					<basicAuthentication>
						<user name="admin" password="adminadmin" />
						<user name="guest" password="guestguest" />
					</basicAuthentication>
					<target host="www.predic8.de" />		
				</serviceProxy>
			
Listing 2: basicAuthentication Example

Child Elements

Position Cardinality Description Element
1 1..* A list of username/password combinations to accept. user

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