Oracle Access Manager 11g R2PS3 (OAM 11.1.2.3): Modification of LogoutRedirectUrl using RREG
(Doc ID 2382831.1)
Last updated on AUGUST 29, 2023
Applies to:
Oracle Access Manager - Version 11.1.2.3.5 and laterInformation in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note.
Symptoms
Issue while creating Agent profile using RREG in Oracle Access Manager 11g R2PS3 (OAM 11.1.2.3).
As per the current requirement, logoutRedirectUrl attribute needs to be set while creating Agent profile using RREG.
Steps that are followed -
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Created input xml file, taking OAMRequest.xml as reference.
2) By default, OAMRequest.xml file does not have value for logoutRedirectUrl.
3) Picked up the syntax for logoutRedirectUrl from other xml (OAM11GUpdateAgentRequest.xml) in the input folder & copied the syntax to the input xml & tried creating the agent profile by running below command
./oamreg.sh inband <OAM_ORACLE_HOME>/oam/server/rreg/input/TestAgent.xml
Below is the error seen
ERROR
-----------------------
Mar 15, 2018 6:03:52 AM oracle.security.am.engines.rreg.common.XMLValidationEventHandler handleEvent
SEVERE: Error occurred while parsing the XML file.Error message is: cvc-complex-type.2.4.a: Invalid content was found starting with element 'logoutRedirectUrl'. One of '{logoutTargetUrlParamName, primaryServerList, secondaryServerList, protectedResourcesList, publicResourcesList, excludedResourcesList, protectedAuthnScheme, publicAuthnScheme, userDefinedParameters, rregApplicationDomain, isFusionAppRegistration}' is expected.
Changes
Expectation was to set logoutRedirectUrl with a proper value (other than default) while creation of agent profile.
OAMRequest.xml will not have the attribute LogoutredirectUrl present.
Syntax for logoutRedirectUrl is copied from other xml (OAM11GUpdateAgentRequest.xml) in the input folder & copied the syntax to the input xml
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |