Configuring your iSeries server to use JGSS with J2SDK, version 1.3

When you use the Java™ 2 Software Development Kit (J2SDK), version 1.3 on your iSeries™ server, you need to prepare and configure your server to use JGSS. The default configuration uses the pure Java JGSS provider.

Software requirements

To use JGSS with J2SDK, version 1.3, your server must have Java Authentication and Authorization Service (JAAS) 1.3 installed.

Configuring your server to use JGSS

To configure your server to use JGSS with J2SDK, version 1.3, add a symbolic link to the extension directory for the ibmjgssprovider.jar file. The ibmjgssprovider.jar file contains the JGSS classes and the pure Java JGSS provider. Adding the symbolic link enables the extension class loader to load the ibmjgssprovider.jar file.

Adding the symbolic link

To add the symbolic link, on an iSeries command line, type the following command (on a single line) and press ENTER:

     ADDLNK OBJ('/QIBM/ProdData/OS400/Java400/ext/ibmjgssprovider.jar') 
     NEWLNK('/QIBM/ProdData/Java400/jdk13/lib/ext/ibmjgssprovider.jar')
Note: The default Java 1.3 policy on the iSeries server grants the appropriate permissions to JGSS. If you plan to create your own java.policy file, see JVM permissions for a list of permissions to grant ibmjgssprovider.jar.

Changing JGSS providers

After configuring your server to use JGSS, which uses the pure Java provider as the default, you can configure JGSS to use the native iSeries JGSS provider. Then, after you configure JGSS to use the native provider, you can easily switch between the two providers. For more information, see the following topics:

Security managers

If you are running your IBM® JGSS application with a Java security manager enabled, see Using a security manager.