{"id":11812,"date":"2018-10-26T15:18:06","date_gmt":"2018-10-26T13:18:06","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/"},"modified":"2024-09-10T17:32:23","modified_gmt":"2024-09-10T15:32:23","slug":"how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/","title":{"rendered":"How to change oam-config.xml to adapt to Oracle Access Manager configuration change"},"content":{"rendered":"<p>After upgrading the Oracle Access Manager from 11.1.2.3 to 12.2.1.3, I extended the WebLogic Domain with User Messaging Services to be able to use the Forget Password feature.<br \/>\nThe Oracle Support note ID 2302623.1  gives a good example how to do.<br \/>\nOracle Access Manager 12cps3 (OAM 12.2.1.3.0) Sample Application Demonstrates Forgot Password Flow Using Multi Factor Authentication REST APIs ( <a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?_afrLoop=307934039567744&amp;id=2302623.1&amp;_afrWindowMode=0&amp;_adf.ctrl-state=1um1r91em_288\" title=\"Doc ID 2302623.1\" target=\"_blank\" rel=\"noopener noreferrer\">Doc ID 2302623.1<\/a> ).<\/p>\n<p>But the OAM AdaptiveAuthenticatorPlugin was missing the UmsClientUrl property<br \/>\nand without this one, no way to send mails or SMS with the security token to the user requesting the reset of his password.<\/p>\n<p>I decided to modify the oam-config.xml file with the missing property.<br \/>\nDuring the modification, I modfied the Version of the oam-config.xml to inform OAM about the configuration change.<br \/>\nWhat was my surprise when I saw that my modifications were reseted after the Administration Server was started new.<\/p>\n<p>This has changed starting from OAM 12.2.1.3. Now the oam-config is stored in the Metadata Database and needs to be exported,<br \/>\nmodified and re-imported back to the database. The steps are described in the documentation (<a href=\"https:\/\/docs.oracle.com\/en\/middleware\/idm\/access-manager\/12.2.1.3\/aiaag\/managing-data-sources.html#GUID-9F4BD819-AD91-478A-A64A-D91BB883D97Dhttp:\/\/\" title=\"5.1.1 Updating OAM Configuration\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>).<\/p>\n<p>I had then to follow then those steps as shown below:<br \/>\nFirst set the JAVA_HOME and PATH to point to the right Java Version.<br \/>\n<code>$ export JAVA_HOME=\/u00\/app\/oracle\/product\/Java\/jdk<br \/>\n$ export PATH=$JAVA_HOME\/bin:$PATH<\/code><br \/>\nThe export requires a properties file defining te connection to the OAM repository<code>$ more dbschema.properties<br \/>\noam.entityStore.ConnectString=jdbc:oracle:thin:@vm02:1522\/IDM<br \/>\noam.entityStore.schemaUser=IAM_OAM<br \/>\noam.entityStore.schemaPassword=Welcome1<br \/>\noam.importExportDirPath=\/home\/oracle\/OAM_CONFIG<br \/>\noam.frontending=params=vm03;14100;http<br \/>\n[oracle@vm03 OAM_CONFIG]$<\/code>Export the oam-config.xml file<code>$ java -cp \/u01\/app\/fmw_oim_12213\/idm\/oam\/server\/tools\/config-utility\/config-utility.jar:\/u01\/app\/fmw_oim_12213\/oracle_common\/modules\/oracle.jdbc\/ojdbc8.jar oracle.security.am.migrate.main.ConfigCommand \/u02\/app\/config\/domains\/idm_domain\/ export dbschema.properties<br \/>\nOct 15, 2018 6:40:44 PM oracle.security.am.migrate.main.command.CommandFactory getCommand<br \/>\nINFO: executable operation:     export<br \/>\noam.exportDirPath=\/home\/oracle\/OAM_CONFIG<br \/>\noam.exportedFile=oam-config.xml<br \/>\noam.operation.time=2654<\/code>This exports the oam-config.xml file in the local directory. Modify this file and import it back to the DB.<code>$ java -cp \/u01\/app\/fmw_oim_12213\/idm\/oam\/server\/tools\/config-utility\/config-utility.jar:\/u01\/app\/fmw_oim_12213\/oracle_common\/modules\/oracle.jdbc\/ojdbc8.jar oracle.security.am.migrate.main.ConfigCommand \/u02\/app\/config\/domains\/idm_domain\/ import dbschema.properties<br \/>\nOct 15, 2018 6:43:25 PM oracle.security.am.migrate.main.command.CommandFactory getCommand<br \/>\nINFO: executable operation:     import<br \/>\nOct 15, 2018 6:43:27 PM oracle.security.am.migrate.util.ConfigFileUtil replaceValue<br \/>\nINFO: 191 will be replaced by 192<br \/>\nOct 15, 2018 6:43:28 PM oracle.security.am.migrate.operation.ImportConfigOperation invoke<br \/>\nINFO: imported config file version to database:192<br \/>\noam.importDirPath=\/home\/oracle\/OAM_CONFIG<br \/>\noam.importedFile=oam-config.xml<br \/>\noam.importedVersion=192<br \/>\noam.operation.time=2214<\/code>During the import, the version is incremented automatically. Take care on not to have typos errors in the oam-config.xml file you import as I&#8217;m not sure there is a validation before the import and the OAM schema can be corrupted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading the Oracle Access Manager from 11.1.2.3 to 12.2.1.3, I extended the WebLogic Domain with User Messaging Services to be able to use the Forget Password feature. The Oracle Support note ID 2302623.1 gives a good example how to do. Oracle Access Manager 12cps3 (OAM 12.2.1.3.0) Sample Application Demonstrates Forgot Password Flow Using Multi [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[],"type_dbi":[],"class_list":["post-11812","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to change oam-config.xml to adapt to Oracle Access Manager configuration change - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change oam-config.xml to adapt to Oracle Access Manager configuration change\" \/>\n<meta property=\"og:description\" content=\"After upgrading the Oracle Access Manager from 11.1.2.3 to 12.2.1.3, I extended the WebLogic Domain with User Messaging Services to be able to use the Forget Password feature. The Oracle Support note ID 2302623.1 gives a good example how to do. Oracle Access Manager 12cps3 (OAM 12.2.1.3.0) Sample Application Demonstrates Forgot Password Flow Using Multi [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-26T13:18:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T15:32:23+00:00\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"How to change oam-config.xml to adapt to Oracle Access Manager configuration change\",\"datePublished\":\"2018-10-26T13:18:06+00:00\",\"dateModified\":\"2024-09-10T15:32:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\"},\"wordCount\":290,\"commentCount\":0,\"articleSection\":[\"Application integration &amp; Middleware\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\",\"name\":\"How to change oam-config.xml to adapt to Oracle Access Manager configuration change - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2018-10-26T13:18:06+00:00\",\"dateModified\":\"2024-09-10T15:32:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to change oam-config.xml to adapt to Oracle Access Manager configuration change\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to change oam-config.xml to adapt to Oracle Access Manager configuration change - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/","og_locale":"en_US","og_type":"article","og_title":"How to change oam-config.xml to adapt to Oracle Access Manager configuration change","og_description":"After upgrading the Oracle Access Manager from 11.1.2.3 to 12.2.1.3, I extended the WebLogic Domain with User Messaging Services to be able to use the Forget Password feature. The Oracle Support note ID 2302623.1 gives a good example how to do. Oracle Access Manager 12cps3 (OAM 12.2.1.3.0) Sample Application Demonstrates Forgot Password Flow Using Multi [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/","og_site_name":"dbi Blog","article_published_time":"2018-10-26T13:18:06+00:00","article_modified_time":"2024-09-10T15:32:23+00:00","author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"How to change oam-config.xml to adapt to Oracle Access Manager configuration change","datePublished":"2018-10-26T13:18:06+00:00","dateModified":"2024-09-10T15:32:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/"},"wordCount":290,"commentCount":0,"articleSection":["Application integration &amp; Middleware"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/","url":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/","name":"How to change oam-config.xml to adapt to Oracle Access Manager configuration change - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2018-10-26T13:18:06+00:00","dateModified":"2024-09-10T15:32:23+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/how-to-change-oam-config-xml-to-adapt-to-oracle-access-manager-configuration-change\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to change oam-config.xml to adapt to Oracle Access Manager configuration change"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=11812"}],"version-history":[{"count":1,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11812\/revisions"}],"predecessor-version":[{"id":34693,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11812\/revisions\/34693"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=11812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=11812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=11812"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=11812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}