My Oracle Support Banner

The Custom Security Realm Disappear After Extend The Domain. (Doc ID 1956041.1)

Last updated on OCTOBER 20, 2023

Applies to:

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

Symptoms

The default custom WLS security realm reverts back to the myrealm as the default security realm after the WLS domain is extended.

Changes

Simplified steps to reproduce issue

1. Ran rcu to create schema objects

2. /opt/Oracle/Middleware11g/wlserver_10.3/common/bin
./config.sh

- Create a new Weblogic domain
- Basic WeblogicServerDomain - 10.3.6.0(wlserver_10.3)*
-Domain Name = OAMP
Domain location = /opt/Oracle/Middleware11g/user_projects/domains
-Confiure Admin <username> and <password>
- Dev mode Sun SDK 1.7.0_45 @ /opt/jdk7-64
-select admin server and Managed Servers,Clusters and Machines

3. start admin server

4. Access and log into the WLS admin console
navigate and see two servers
AdminServer(admin)
new_ManagedServer_1

- security real = myrealm

5. Shutdown admin server

6. Create a new default realm
... customer states ...
The only thing I did on the config.xml was make a copy of the "myrealm" and named it as "customRealm", and set the "customRealm" as default realm.
-/opt/Oracle/Middleware11g/user_projects/domains/OAMP/config/

edit config.xml
copy the section for the defaults security realm
change its name to custom realm
* unclear the exact steps followed

7. Start the admin server up
During the startup you will see the security realm used in now customrealm and not myrealm

8. Access and log into the WLS admin console
- Navigate to realms
you now see two realms...customRealm true and myrealm false

9. Shutdown the admin server

10. /opt/Oracle/Middleware11g/wlserver_10.3/common/bin
./config.sh

- Extend an existing Weblogic domain
select the domain ...OAMP
- select any template (customer selected OAM)
- Configur JDBC Components Schema
- check Managed Servers, Clusters and Machines
- select oam_server1
- extend

11. run security script (python)

12. start admin server

13. -/opt/Oracle/Middleware11g/user_projects/domains/OAMP/config/
edit config.xml

notice custom realm is gone and myrealm is set back to true

14. access and login into wls admin console...???
- security real = myrealm
notice custom realm is gone and myrealm is set back to true

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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.