Develop the new policy service in an XML file based on the sms.dtd. Access Manager provides two policy service XML files that you may wish to use as the basis for the new policy service file:
amWebAgent.xml - This the XML file for the default URL Policy Agent service. It is located in /etc/opt/SUNWam/config/xml/.
SampleWebService.xml . - This is the sample policy service file located inAccessManager-base/samples/policy .
Save the XML file to the directory from which you will load the new policy service. For example:
Load the new policy service with the amadmin command line utility. For example:
AccessManager-base/SUNWam/bin/amadmin --runasdn “uid=amAdmin,ou=People,default_org, root_suffix --password password --schema /config/xml/newPolicyService.xml
After you load the new policy service, you can define rules for the policy definitions through the Access Manager console or by loading a new policy through amadmin.