When you use the Java™ 2 Software Development Kit (J2SDK), version 1.3 on your server, you need to prepare and configure your server to use JGSS. The default configuration uses the pure Java JGSS provider.
To use JGSS with J2SDK, version 1.3, your server must have Java Authentication and Authorization Service (JAAS) 1.3 installed.
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 i5/OS® 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')
The default Java 1.3 policy on the server grants the appropriate permissions to JGSS. If you plan to create your own java.policy file, see the JVM permissions topic for a list of permissions to grant ibmjgssprovider.jar.
After configuring your server to use JGSS, which uses the pure Java provider as the default, you can configure JGSS to use the native System i5™ JGSS provider. Then, after you configure JGSS to use the native provider, you can easily switch between the two providers.
If you are running your IBM® JGSS application with a Java security manager enabled, see the Using a security manager topic.
Related concepts
JVM permissions JGSS providers Using a security manager