Sun Java System Access Manager Policy Agent 2.2 Release Notes

ProcedureTo Configure XML Files of the Sample Application

  1. Using a text editor of your choice, access the PolicyAgent-base/sampleapp/build.xml file.

  2. Change line 69 as shown:

    Change From

    <pathelement location="${appserv.lib.dir}/ebj.jar"/>

    Change To

    <pathelement location="${appserv.lib.dir}/ejb.jar"/>

  3. At line 95, add the following snippet:

    <pathelement location="${appserv.lib.dir}/servlet.jar"/>
    <pathelement location="${appserv.lib.dir}/ejb.jar"/>
  4. Save and close the build.xml file.

  5. Using a text editor of your choice, access the META-INF/orion-application.xml file.

  6. Add the following attribute as indicated:


    The following shows how the element appears before and after you have added the required attribute:

    Change From

    <jazn provider="XML">

    Change To

    <jazn provider="XML" "location="./jazn-data.xml">

  7. (Conditional) If the jazn-data.xml file does not exist in the META-INF directory, create one as demonstrated in the following example:

    <?xml version="1.0" encoding="UTF-8" standalone='yes'?>
    <!DOCTYPE jazn-data PUBLIC "JAZN-XML Data" 
    <!-- JAZN Realm Data -->
    <!-- JAZN Policy Data -->
    <!-- Permission Class Data -->
    <!-- Principal Class Data -->
    <!-- Login Module Data -->
Next Steps

After you have performed the preceding steps, rebuild the sample application as described in the sample application readme.txt file, which is in the following location: