<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>

Create Security Realm -- Show Deployment Plan

Deployment Plan:
Deploy RealmSave" />
Deploy Command:
To deploy a security realm from the command line using this plan, copy and paste it to a file (say, security-realm.xml) and save it. Then run a command like:
cd GERONIMO_HOME
java -jar bin/deployer.jar deploy security-realm.xml
Add to EAR:
Instead of deploying as a top-level security realm, you can deploy this realm as part of an EAR. To add a security realm to an EAR using this plan, create a META-INF/geronimo-application.xml file in your EAR that has the dependency elements (if any) and gbean elements from the plan above. It should look something like this:
<application
   xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
  <environment>
    <moduleId>
      <artifactId>MyApplication</artifactId>
    </moduleId>
    <dependencies>
       <dependency>
         ...
       </dependency>
    </dependencies>
  </environment>

  <gbean name="${realm.name}"
    class="org.apache.geronimo.security.realm.GenericSecurityRealm">
        ...
  </gbean>
</application>

">Cancel