Thursday Jul 17, 2008
Enabling PUT and DELETE Actions in OpenSSO Policy Definitions for Web URLs
Policy rules in OpenSSO allow control over GET and POST actions but, by default, do not list PUT and DELETE. Following are two procedures for adding the latter actions.
When Deploying a New Instance of OpenSSO- Explode
opensso.war. cd WEB-INF/classes- Create
AttributeSchemaelements for PUT and DELETE inamWebAgent.xmlusing the already existingAttributeSchemafor GET and POST as the prototype. - Add i18n keys and values to
amWebAgent.propertiesfor the elements created in the previous step. - Regenerate the WAR.
- Deploy the WAR.
- Explode
opensso.war. cd WEB-INF/classes- Create
AttributeSchemaelements for PUT and DELETE inamWebAgent.xmlusing the already existingAttributeSchemafor GET and POST as the prototype. - Copy
amWebAgent.xmloutside the exploded WAR directory. - Add i18n keys and values to
amWebAgent.propertiesfor the elements created in the previous step. - Regenerate the WAR.
- Redeploy the WAR.
- Set up the
famadmcommand line interface.- Download and unzip
opensso.zip. - Change to the
opensso/toolsdirectory and unzipfamAdminTools.zip. - Follow the instructions in
README.setup.
- Download and unzip
- Run the following command:
famadm delete-svc -s iplanetamwebagentservice - Run the following command:
famadm create-svc --xmlfile /path/amWebAgent.xml
Posted at 09:47AM Jul 17, 2008 by Michael Teger in Sun | Comments[0]
Comments:
