December 31, 2014 at 8:38 pm #2232
About a month ago I upgrade an environment to 11.0.2 which made available additional policy actions (DELETE, PUT, etc). I just upgraded the same environment to 12.0.0 and I can’t seem to find those new actions, only GET and POST are available in the new policy editor. I first assumed that this was due to these policies being related to referrals in the top realm but I am seeing the same behavior in all realms when creating a new policy. I don’t see anything about this in the Release Documents (Known Issues).
Any insight on this is greatly appreciated.January 1, 2015 at 9:40 am #2233Victor AkeParticipant
Hi Brad, Without verifying, it sounds to me like an upgrade bug. With a fresh installation you get those actions in OpenAM 12. Please raise an issue in Bugster and check if the OpenAM team verifies the issue.January 1, 2015 at 5:55 pm #2237
This sounds very similar to https://bugster.forgerock.org/jira/browse/OPENAM-4696 , but I would expect PUT and DELETE to be still present after the upgrade. Could be that you’ve incorrectly added the custom actions to 11.0.2 somehow?January 2, 2015 at 4:10 pm #2238
In OPENAM-4696 AM 12 is overwriting custom actions. In our case the out of the box actions that were added (by ForgeRock) in AM 11.0.2 are not present after upgrading to AM 12.
In this particular instance I don’t have any custom actions. I was only using the native actions that are available in 11.0.2.January 2, 2015 at 4:12 pm #2239
I just created https://bugster.forgerock.org/jira/browse/OPENAM-5388 for this issue.January 14, 2015 at 2:51 am #2396
FYI, as listed in the JIRA ticket, the workaround is to run the following ssoadm command:
$ openam/bin/ssoadm set-appl -e / -m iPlanetAMWebAgentService -u amadmin -f .pass \ -D appl.txt
where appl.txt’s content is:
actions=GET=true actions=POST=true actions=PUT=true actions=DELETE=true actions=HEAD=true actions=OPTIONS=true actions=PATCH=true
If I’m not mistaken this issue should only happen if you’ve updated from a version that hasn’t previously supported the extra set of actions (so in most scenarios this will be unfortunately true).
January 20, 2015 at 12:33 am #2611handongwangParticipant
- This reply was modified 6 years, 5 months ago by Peter Major.
One more question: can I add non HTTP method actions such as EXECUTE, LIST, etc?
Many thxJanuary 20, 2015 at 9:28 am #2615
//Just answered that question for you under https://forgerock.org/topic/how-to-add-actionmethod-to-openam-url-policy/
You must be logged in to reply to this topic.