Why and when to perform this task
By default, all lookups are secure as described in Security of lookups with component managed authentication.Although it is not recommended, it is possible to turn off the secure mode for a particular datasource or connection factory.
Steps for this task
Change this:
<!-- The security-properties are in a comment block. Uncomment to use --> <!-- <security-properties connectionFactoryJNDIName="myDataSource"> <secureMode>false</secureMode> </security-properties> -->
to this, for example:
<!-- The security-properties are in a comment block. Uncomment to use --> <security-properties connectionFactoryJNDIName="myDataSource"> <secureMode>false</secureMode> </security-properties>
Where "myDataSource" is the JNDI name of the datasource or connection factory you want to run unsecure.