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 and later
Information in this document applies to any platform.


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


Simplified steps to reproduce issue

1. Ran rcu to create schema objects

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

- Create a new Weblogic domain
- Basic WeblogicServerDomain -*
-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

- 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.

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

- 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


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

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