Disable lookup security

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.

  1. Edit %WAS_HOME%\properties\j2c.properties (or $WAS_HOME/properties/j2c.properties on UNIX platforms).

    Change this

    <!-- The security-properties are in a comment block.  Uncomment to use -->
    <!-- 
       <security-properties connectionFactoryJNDIName="myDataSource">
           <secureMode>false</secureMode>
       </security-properties>
    -->
    
    

    to this...

    <!-- 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.