Replacing the default security realm

The default properties file realm is not recommended for a Geronimo server used in a production environment. It is recommended that you use a database (SQL) realm or an LDAP realm. In order to replace the default realm, carry out the following steps:

  1. Deploy a new realm with realm-name geronimo-admin.

  2. Delete the realm GBean corresponding to the default properties realm in server-security-config. Edit config.xml and add the following GBean under the server-security-config module to disable the default-realm:

    <module name="org.apache.geronimo.framework/server-security-config/2.1.4/car">
    <gbean name="geronimo-admin" load="false"/>
    </module>
    
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset