You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Jérémy Soula <js...@ebusinessinformation.fr> on 2005/04/25 18:12:00 UTC

Authentication with Slide 2.1 and JBoss 4.0.1

Hi all,

I am using slide 2.1 with jboss 4.0.1. It works fine but i have one 
problem: authentication.
I add a new Realm in the login-config.xml:
<application-policy name = "slide">
       <authentication>
          <login-module code = "org.apache.slide.jaas.spi.SlideLoginModule"
             flag = "required">
      </login-module>
       </authentication>
    </application-policy>

i add a jboss-web.xml in the slide.war:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd">
<jboss-web>
    <security-domain>java:/jaas/slide</security-domain>
  <class-loading java2ClassLoadingCompliance="false">
    
<loader-repository>org.apache.slide:loader=slide.war</loader-repository>
  </class-loading>
</jboss-web>

and i obviously enable the security authentication in web.xml et 
slide.properties.

But when i connect with DAVExplorer with 'root','root', i have a 403 
Access to the requested ressource is denied.

Someone can help me?

Regards,

Jérémy


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org