Modification of LogoutRedirectUrl using RREG

(Doc ID 2382831.1)

Last updated on APRIL 10, 2018

Applies to:

Oracle Access Manager - Version 11.1.2.3.5 and later
Information in this document applies to any platform.

Symptoms

 Issue while creating Agent profile using RREG.

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 /refresh/home/Oracle/Middleware_IAM/Oracle_IDM1/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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms