Add the Implementation class JAR to the Classpath for the Custom Password Policy

For a custom password policy, you must add the implementation class JAR to the classpath.

About this task

The extension implementation class must be compiled and jarred as follows:

Procedure

  1. Navigate to SI_Install_Dir.
  2. Enter the following command to compile the custom class file:

    javac -cp /SI_Install_Dir/jar/platform_ifcbase/<version number>/platform_ifcbase.jar test/policy/extension/*.java

  3. Create the jar file by running the following command from within SI_Install_Dir :

    jar cf any_filename.jar absolute_path_to_custom_class_file.class

    where any_filename.jar is the name of the new jar file to be created and where absolute_path_to_custom_class_file.class is the name of the custom implementation Java class file. For example: jar cf userExit.jar test/policy/extension/PwdPolExtnImpl.class
  4. Navigate to SI_Install_Dir/bin directory.
  5. Enter the following command to add the newly created jar to the classpat:

    ./install3rdParty.sh userExit 1_0 -j path_to_jar_that_was_created_in_step3

    for example, ./install3rdParty.sh userExit 1_0 -j SI_Install_Dir/userExit.jar