ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/sec/seccj2sp.htm

33 lines
1.6 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>Configure the spi.policy file</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h5><a name="seccj2sp"></a>Configure the spi.policy file</h5>
<p>This file contains permissions for a service provider interface (SPI) or third-party resources that are embedded in WebSphere Application Server - Express. Examples of SPIs are JDBC drivers. By default, the content of this file grants permission to everything. You may need to update this file when more permissions are required for SPI resources. However, use care when updating the file because its permissions are applied to all of the SPIs that are defined in resources.xml.</p>
<p>The union of the permissions that are contained in the java.policy file and spi.policy file are applied to the SPI libraries.</p>
<p>The WebSphere Application Server - Express spi.policy file is located in the /QIBM/UserData/WebASE/ASE5/<em>instance</em>/config/cells/<em>cell</em>/nodes/<em>node</em> directory, where <em>instance</em> is the name of your instance, <em>cell</em> is the name of your cell, and <em>node</em> is the name of your node.</p>
<p>The default spi.policy file contains the following default permission:</p>
<pre> grant {
permission java.security.AllPermission;
};</pre>
<p>For the updated spi.policy file to take effect, you must restart all related Java processes.</p>
</body>
</html>