# Configure RDBMS security realms

The RDBMS security realm is an Oracle-provided custom security realm that stores users, groups and ACLs in a relational database.The RDBMS security realm for Compatibility security is an example and is not meant to be used in a production environment.

Note: The RDBMS example does not work with databases that have an autocommit feature enabled. If you use the RDBMS example as a starting point for your RDBMS implmentation, use explicit commit statements in your code and make sure the autocommit feature in the database you are using is disabled.

If your implementation of the RDBMS security realm uses the ``getActiveDomain()`` method, you need to edit and recompile your ``RDBMSDelegate`` class in order to use the RDBMS security realm with Compatibility security. Replace the ``getActiveDomain()`` method with the ``getSecurityConfig()`` method in the ``weblogic.server`` package.

To configure an RDBMS security realm:

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
2. In the left pane, expand Compatibility Security > Realms, then click New.

   The Create a New Basic Realm page appears.

3. In the Name field, enter a name for the RDBMS security realm.
4. In the Type drop-down list, select `RDBMS Realm`.
5. Click OK.
6. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
   Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

Click the name of the RDBMS security realm and define its database schema and attributes, as described in Define RDBMS security realm database schema and Define RDBMS security realm database attributes. Configure the Caching realm to associate it with the RDBMS security realm, as described in Configure Caching realms.