How to edit the oam-config.xml in OAM 12c / 12.2.1.3.0 (Oracle Access Manager)
Since Oracle Access Manager 12c PS3 (12.2.1.3), the editing of the oam-config.xml file in the <<fmwconfig>> directory is not supported. Starting from OAM 12c (12.2.1.3.0) release, oam-config.xml is present at the centralized DB location.
- The oam-config.xml is present at file system in at the same location as in earlier versions, but since 12c, we should not modify the oam-config.xml directly from the below location
- Create a new property file :
Update the content of the file as:
oam.entityStore.ConnectString=jdbc:oracle:thin:@//oim-internal.oracle.com:1521/SOADB.ORACLE.COM
oam.entityStore.schemaUser=DEV_OAM
oam.entityStore.schemaPassword=welcome1
oam.importExportDirPath=/oracle/OAMConfigExport
oam.frontending=params=oim-internal.oracle.com:;14100;http
|
- Export the oam-config.xml to your local system from OAM schema
Run the below query (Modify the query as per your environmental directory structure):
java -cp /oracle/Middleware/Oracle_Home/idm/oam/server/tools/config-utility/config-utility.jar:/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jdbc/ojdbc8.jar oracle.security.am.migrate.main.ConfigCommand /oracle/Middleware/Oracle_Home/user_projects/domains/oam_domain export /oracle/OAMConfigExport/dbschema.properties
|
- Modify the oam-config.xml ( While modifying the oam-configm.xml, don’t modify the Version, which was mandatory in the earlier versions of the OAM)
Example: Just update the DirectAuthenticationServiceDescriptor is set to true to enable the unsolicited login.
From:
To:
Save and come out of modified oam-config.xml
- Import the oam-config.xml back to OAM Schema
java -cp /oracle/Middleware/Oracle_Home/idm/oam/server/tools/config-utility/config-utility.jar:/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jdbc/ojdbc8.jar oracle.security.am.migrate.main.ConfigCommand /oracle/Middleware/Oracle_Home/user_projects/domains/oam_domain import /oracle/OAMConfigExport/dbschema.properties
|
- Verify whether the file and file contents have been modified at the below location:
/oracle/Middleware/Oracle_Home/user_projects/domains/oam_domain/config/fmwconfig
No comments:
Post a Comment