Greeting

Could you please help me to do the things, described at
https://cwiki.apache.org/GMOxSAMPLES/running-hudson-on-geronimo.html

on Geronimo v. 3

I was tried the following geronimo-web.xml and it doesn't work.

<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
        <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
                <moduleId>
                        <groupId>net.java.dev.hudson</groupId>
                        <artifactId>hudson</artifactId>
                        <version>1.384</version>
                        <type>war</type>
                </moduleId>
    <dependencies>
      <dependency>
        <groupId>org.apache.geronimo.framework</groupId>
        <artifactId>j2ee-security</artifactId>
        <version>3.0-M1</version>
        <type>car</type>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.framework</groupId>
        <artifactId>geronimo-security</artifactId>
        <version>3.0-M1</version>
        <type>jar</type>
      </dependency>
    </dependencies>

        <hidden-classes>
                        <filter>org.apache.commons.lang.</filter>
                        <filter>org.apache.commons.jexl.</filter>
                </hidden-classes>
        </environment>

        <context-root>/hudson</context-root>
        <security-realm-name>hudson-realm</security-realm-name>
  <security>
    <default-principal realm-name="hudson-realm">
      <principal name="anonymous" class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" />
    </default-principal>
    <role-mappings>
      <role role-name="admin">
        <realm realm-name="hudson-realm">
          <principal name="AdminGroup" class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" />
        </realm>
        <principal name="system" class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" />
      </role>
    </role-mappings>
  </security>
</web-app>



Regards,
Boris

_______________________________________________________

 

The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia.

If you need assistance please contact our Contact Center (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp