Child pages
  • Properties File Realm
Skip to end of metadata
Go to start of metadata

Properties file security realms

This realm type allows you to configure Web applications to authenticate users against it.

Enter the name of security realm and select Properties File Realm from the Realm type: menu. Click Next and follow the wizard.

When you create a new properties file realm through the administrative console, the key values you supply are in the configuration options field, which is the location and filenames of the user and group property files, for example:


By default, the security realm used by the server to authenticate administrative users for console and deployer access, is the geronimo-admin properties file realm.

The following example illustrates a deployment plan for this default geronimo-admin realm.

<module xmlns="">
    <gbean name="geronimo-admin" class=""
                 xsi:type="dep:gbeanType" xmlns:dep=""
        <attribute name="realmName">geronimo-admin</attribute>
        <attribute name="global">true</attribute>
        <reference name="ServerInfo">
        <reference name="LoginService">
        <xml-reference name="LoginModuleConfiguration">
            <log:login-config xmlns:log="">
                <log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
                    <log:option name="usersURI">var/security/</log:option>
                    <log:option name="groupsURI">var/security/</log:option>

Once the security realm has been created, you can click the usage link to view samples of how to apply the new realm in your applications.

  • No labels