Building the deployment file

The directory structure in your development environment should look similar to this:

UNIX:

.../temp/ProxyAuth.jsp .../temp/WEB-INF/web.xml .../temp/WEB-INF/lib/<JAR files your Web application might use>

Windows:

c:\temp\ProxyAuth.jsp c:\temp\WEB-INF\web.xml c:\temp\WEB-INF\lib\<JAR files your Web application might use>

  1. Create the deployable Web application archive (WAR) file using the jar command from the location of your Java JDK:

    UNIX:

    cd <basedir>
    
    jar -cf /tmp/ProxyAuth.war *
    

    Windows:

    cd <basedir>
    
    jar -cf \temp\ProxyAuth.war *
    

    This creates the ProxyAuth.war deployment file in your /tmp on UNIX and in your \temp directory on Windows.

  2. Copy the security_stubs.jar file to the WEB-INF/lib directory on UNIX or the WEB-INF\lib directory on Windows so the ProxyAuth JSP can use Enterprise Security to access proxy authentication information.