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
  1. Explode opensso.war.
  2. cd WEB-INF/classes
  3. Create AttributeSchema elements for PUT and DELETE in amWebAgent.xml using the already existing AttributeSchema for GET and POST as the prototype.
  4. Add i18n keys and values to amWebAgent.properties for the elements created in the previous step.
  5. Regenerate the WAR.
  6. Deploy the WAR.

When Modifying an Existing Instance of OpenSSO
  1. Explode opensso.war.
  2. cd WEB-INF/classes
  3. Create AttributeSchema elements for PUT and DELETE in amWebAgent.xml using the already existing AttributeSchema for GET and POST as the prototype.
  4. Copy amWebAgent.xml outside the exploded WAR directory.
  5. Add i18n keys and values to amWebAgent.properties for the elements created in the previous step.
  6. Regenerate the WAR.
  7. Redeploy the WAR.
  8. Set up the famadm command line interface.

    • Download and unzip opensso.zip.
    • Change to the opensso/tools directory and unzip famAdminTools.zip.
    • Follow the instructions in README.setup.

  9. Run the following command:

    famadm delete-svc -s iplanetamwebagentservice
  10. Run the following command:

    famadm create-svc --xmlfile /path/amWebAgent.xml
And now enjoy Eddie Money and Ronnie Spector singing Take Me Home Tonight.

About

docteger

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today