Sun Java System Access Manager 7 2005Q4 Developer's Guide

ProcedureTo Set Policy Evaluation Properties

  1. Set the value of pe.servicename to the service name.

    Examples: iPlanetAMWebAgentService or SampleWebService .

  2. Set the pe.resoucename to the name of the resource that you want to evaluate the policy against.

  3. Specify the action names in the pe.actionnames.

    Separate the action names with a colon (:) If you want to get all the action values, leave the pe.actionnamesblank.

  4. Set other required properties such as pe.username and pe.password.

  5. (Optional) Set the following properties pe.authlevel, pe.authscheme, pe.requestip, pe.dnsname , pe.time if you use the corresponding conditions in your policy definitions.

    If you don't want to set these environment parameters, just leave their values as blank.


    Used to evaluate AuthLevel Condition. pe.authlevel takes a positive integer.


    Used to evaluate AuthScheme Condition. pe.authschemet takes a set of colon— separated AuthScheme names.


    Used to evaluate the IP Condition. pe.requestip takes an IP address string.


    Used to evaluate the IP Condition. pe.dnsname takes a set of colon— separated DNS names.

    property pe.time

    Used to evaluate the Simple Time Condition. property pe.time specifies the request time in milliseconds. If its value is set to the current time, then it takes the current time in milliseconds.