anonymous-data-source

Purpose

Creates an anonymous data source from a password protected one. An anonymous data source does not need to be provided with the user name and password in order to connect to the database. A password protected data source must be supplied with a user name and password in order to connect to the database.

Contained by

Contains

Attributes

Attribute Description Type Default Options Use
password The user password xs:string none    required 
user The user name xs:string none    required 

Example

<local-repository>
  <jdbc-repository>
    <jndi-data-source
      initial-context="myContext"
      name="datasourceName"/>
  </jdbc-repository>
<local-repository>

Related topics