If you want to use authentication you *will* need JAAS as this simply
is the way it works. To configure your own authentication you will
thus have to change the jaas.config in Tomcat's conf directory. The
important property is the factoryClassName. The default is

factoryClassName=org.apache.slide.simple.reference.FakeSessionManager

change this to your implementation which must implement
SessionAuthenticationManager. Have a look at this

http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/authentication/SessionAuthenticationManager.html

and maybe at the code of the fake session manager how to do this.

Oliver


On Wed, 10 Nov 2004 13:06:49 +0200, Roman D <[EMAIL PROTECTED]> wrote:
> 
> I don't need JAAS, how can I configure Domain.xml to allow access
> without auth?
> How can I configure domain.xml to pass all authentication to my own class?
> 
> 
> 
> Oliver Zeigermann wrote:
> 
> >Have you run ant deploy in the wck directory? If you have configured
> >the location of your Tomcat in the build properties properly the
> >target should adjust the Tomcat to work. If you have the demo
> >authentication will be used that gives access to just any
> >user/password combination.
> >
> >So, the short answer is, yes it works, but if you do not configure
> >JAAS properly (which is done by the ant target mentioned above) you
> >will experience the problems you currently have.
> >
> >Oliver
> >
> >
> >On Wed, 10 Nov 2004 01:46:16 +0200, Roman D <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I am compiling WCK with Slide. Problem with slide.war produced by build
> >>in propoasals/wck/dist
> >>When I install it on server and try to access, it does not accept any of
> >>the configured users root/root, guest/guest, etc. I get 401 unauthorized.
> >>
> >>Inside of Domain.xml it is has <nodestore
> >>classname="org.apache.slide.simple.store.WebdavStoreAdapter"> so it's
> >>slide configured to use WCK.
> >>
> >>Did anyone got it working or it's not supposed to be working (the
> >>slide.war produced by WCK build)?
> >>
> >>Thanks.
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> 
> 
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to