SecurityRealm portlet is currently generating a plan given below.  There are
no deployment errors.  But then the new realm does not get listed in the
portlet and the realm could not be used for authentication.  What is wrong
with this plan?

<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2";>
   <environment>
       <moduleId>
           <groupId>console.realm</groupId>
           <artifactId>myrealm</artifactId>
           <version>1.0</version>
           <type>car</type>
       </moduleId>
       <dependencies>
           <dependency>
               <groupId>org.apache.geronimo.configs</groupId>
               <artifactId>j2ee-security</artifactId>
               <type>car</type>
           </dependency>
       </dependencies>
   </environment>
   <service name="myrealm" class="
org.apache.geronimo.security.realm.GenericSecurityRealm"
xsi:type="dep:gbeanType" xmlns:dep="
http://geronimo.apache.org/xml/ns/deployment-1.2"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
       <attribute name="realmName">myrealm</attribute>
       <reference name="ServerInfo">
           <name>ServerInfo</name>
       </reference>
       <reference name="LoginService">
           <name>JaasLoginService</name>
       </reference>
       <xml-reference name="LoginModuleConfiguration">
           <log:login-config xmlns:log="
http://geronimo.apache.org/xml/ns/loginconfig-1.2";>
               <log:login-module control-flag="REQUIRED" server-side="true"
wrap-principals="false">
                   <log:login-domain-name>myrealm</log:login-domain-name>
                   <log:login-module-class>
org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule
</log:login-module-class>
                   <log:option
name="usersURI">var/security/users.properties</log:option>
                   <log:option
name="groupsURI">var/security/groups.properties</log:option>
               </log:login-module>
           </log:login-config>
       </xml-reference>
   </service>
</module>

Reply via email to