ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/program/datasecdisable.htm

39 lines
1.3 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Disable lookup security</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h6><a name="datasecdisable"></a>Disable lookup security</h6>
<p>By default, all lookups are secure as described in <a href="datasec.htm">Security of lookups</a>.
<p>Although it is not recommended, it is possible to turn off the secure mode for a particular data source or connection factory.</p>
<ol>
<li><p>Edit the /QIBM/ProdData/WebASE51/ASE/properties/j2c.properties file.</p></li>
<li>Remove the comments around the following lines of code:
<pre>
&lt;!-- The security-properties are in a comment block. Uncomment to use --&gt;
&lt;!--
&lt;security-properties connectionFactoryJNDIName=&quot;myDataSource&quot;&gt;
&lt;secureMode&gt;false&lt;/secureMode&gt;
&lt;/security-properties&gt;
--&gt;</pre>
<p>where <em>myDataSource</em> is the JNDI name of the data source or connection factory you want to run unsecure.</p>
</li>
<li>Save and close the file.</li>
</ol>
</body>
</html>