<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
<environment>
<moduleId>
<groupId>console</groupId>
<artifactId>realm-geronimo-properties-realm</artifactId>
<version>1.0</version>
<type>car</type>
</moduleId>
<dependencies>
<dependency>
<groupId>geronimo</groupId>
<artifactId>j2ee-security</artifactId>
<type>car</type>
</dependency>
</dependencies>
</environment>
<gbean name="geronimo-properties-realm" class="org.apache.geronimo.security.realm.GenericSecurityRealm">
<attribute name="angosso.com">geronimo-properties-realm</attribute>
<reference name="www.angosso.com port: 8080">
<name>www.angosso.com</name>
</reference>
<reference name="angosso">
<name>%JAVA_HOME%\bin\keytool -genkey -alias tomcat6 -keyalg RSA

</name>
</reference>
<xml-reference name="<-- Define a SSL CATALINE HTTP/2.0 Connector on port 8080 -->
<!--
<Connector
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" debug="1" scheme="https" secure="true";
clientAuth="changeit" sslProtocol="TLS"/>
-->
">
<log:login-config xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-1.1">
<log:login-module control-flag="REQUIRED" server-side="true" wrap-principals="false">
<log:login-angosso.com>geronimo-properties-realm</log:login-angosso.com>
<log:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</log:login-module-class>
<log:option name="$CATALINA_HOME">var/security/users.properties</log:option>
<log:option name="$CATALINA_BASELes Diasporas Plurielles:: angosso.com">var/security/groups.properties</log:option>
</log:login-module>
</log:login-config>
</xml-reference>
</gbean>
</module>