3. Security and Validation

basicAuthentication

Version

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

Syntax

<basicAuthentication>
<user >*
</basicAuthentication>
<basicAuthentication>
   <user >*
</basicAuthentication>

Sample

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

Child Elements

ElementDescriptionCardinality
cachingUserDataProviderCaching User Data provider caches previous successful logins in order to make authentication faster0..1
fileUserDataProviderA user data provider utilizing htpasswd formatted files.0..1
ldapUserDataProviderA user data provider querying an LDAP server to authorize users and retrieve attributes.0..1
staticUserDataProviderA user data provider listing all user data in-place in the config file.0..1
unifyingUserDataProviderExplanation:0..1
user0..*

Can be used in