<%-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%@ 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