basicAuthentication
Secures a serviceProxy with the HTTP basic authentication mechanism.
Can be used in
proxy, serviceProxy, soapProxy, transport, beans
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
Name | Cardinality | Description |
---|---|---|
user | 0..* | Specifies username and password. |