Differences between revisions 9 and 10
Revision 9 as of 2006-05-10 03:17:06
Size: 1647
Editor: ZhiyongLi
Comment:
Revision 10 as of 2009-09-20 22:02:42
Size: 1647
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

This is first attempt to deploy jakarta-slide-1.0.16 (CVS will come...) on jboss-3.0.7

A first contribution: http://www.mail-archive.com/slide-user@jakarta.apache.org/msg03093.html

--> Note today (July 15 2003), it is not needed anymore: the standard slide.war deploys in Tomcat without any problem.

JBoss 4.0.1 and Slide 2.1 with authentication

  • Create a /WEB-INF/jboss-web.xml file in slide webapp like:

<jboss-web> 
<!-- Slide security -->
<security-domain>java:/jaas/slide</security-domain>
<!-- To run slide -->
  <class-loading java2ClassLoadingCompliance="false"> 
    <loader-repository>org.apache.slide:loader=slide.war</loader-repository> 
  </class-loading> 
  <!-- Resource Environment References --> 
  <!-- Resource references --> 
  <!-- EJB References --> 
</jboss-web> 
  • In the file $JBOSS_HOME/server/YOUR_DOMAIN/conf/login-config.xml, add a new application-policy like:

<application-policy name = "slide">
       <authentication>
          <login-module code = "org.apache.slide.jaas.spi.SlideLoginModule" flag = "required">
                <module-option name="namespace">slide</module-option>
          </login-module>
       </authentication>
    </application-policy>
  • In the file $JBOSS_HOME/server/YOUR_DOMAIN/deploy/jbossweb-tomcat50.sar/server.xml, add a new Realm like:

<Realm className="org.apache.catalina.realm.JAASRealm"
         appName="slide" 
         userClassNames="org.apache.slide.jaas.spi.SlidePrincipal" 
         roleClassNames="org.apache.slide.jaas.spi.SlideRole" 
         debug="99"
         useContextClassLoader="false"
  />

JbossSetup (last edited 2009-09-20 22:02:42 by localhost)