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
-
Navigate to SI_Install_Dir.
-
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
-
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
-
Navigate to SI_Install_Dir/bin directory.
-
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