Sun OpenSSO Enterprise 8.0 Integration Guide

ProcedureTo Compile the Post-Authentication Plug-In Code

  1. Download the Java EE SDK if you don't have it already through NetBeans or GlassFish.

    From this SDK, you will need the Java servlet API classes ( available in javaee.jar ) to compile the post-authentication module source code.

  2. Set the Java home directory.

    # export JAVA_HOME=/export/software/jdk1.6.0_14
    # export PATH=$JAVA_HOME/bin:$PATH
  3. Set the Java classpath.

    The following has been broken into multiple lines for readability purposes.

    # export CLASSPATH=/opt/SUNWappserver91/lib/javaee.jar:

    The jar files used in this example are:

    • javaee.jar

      Available in the Java EE SDK or in your GlassFish / NetBeans installation.

    • amserver.jar

      Available in the opensso.war.

    • opensso-sharedlib.jar

      Available in the opensso.war.

  4. Compile the source file.

    # javac

    The class file FirstTimeLogin.class is created in the current directory.