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 Amit Sharma <am...@nagarro.com> on 2005/07/12 10:22:22 UTC

Issues while picking files from web dav repository through SAX parser

Hi,

I am using Apache Slide with Jboss-3.2.6. I was able to successfully
Integrate it with Jboss-3.2.6 and also able to upload documents through the
API.

However i am using Slide to upload some schema (.xsd) files. These schema
files are to be read by the SAX parser for doing some validations. However
if i turn off the security for the GET operation in web.xml inside the
Slide's war the parser is successfully able to pick the files and perform
validation. However i need to have securiity enabled in the production
environment. But enabling the security the following exception related to
authentication is thrown:

19:55:42,328 INFO  [Engine] JAASRealm[jboss.web]: Returning username null
19:55:42,328 INFO  [Engine] JAASRealm[jboss.web]: Returning password null
19:55:42,328 WARN  [JAASRealm] Login exception authenticating username null
javax.security.auth.login.LoginException: No user name entered
            at
org.apache.slide.jaas.spi.SlideLoginModule.login(SlideLoginModule.java:160)
            at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
I have also tried the following format for the URL but it is not working:
http://root:root@localhost:8080/slide/files/schema/test1.xsd
<http://root:root@localhost:8080/slide/files/schema/test1.xsd>
Any help woul be appreciated.

Thanks,
Amit Sharma.