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 Roman D <do...@apollo.lv> on 2004/11/10 00:46:16 UTC

slide.war produced by WCK build process

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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: slide.war produced by WCK build process

Posted by Oliver Zeigermann <ol...@gmail.com>.
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 <do...@apollo.lv> 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 <do...@apollo.lv> 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: slide-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> 
> 
> >To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >
> >
> >
> >
> 
>

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


Re: slide.war produced by WCK build process

Posted by Roman D <do...@apollo.lv>.
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 <do...@apollo.lv> 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: slide-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>  
>


Re: slide.war produced by WCK build process

Posted by Oliver Zeigermann <ol...@gmail.com>.
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 <do...@apollo.lv> 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: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
>

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


Re: slide.war produced by WCK build process

Posted by James Mason <ma...@apache.org>.
When you installed the slide war did you configure the JAAS module? If
not, Tomcat will have no knowledge of Slide's users.

The tomcat-deploy (something like that) ant target should take care of
that for you.

-James

On Wed, 2004-11-10 at 01:46 +0200, Roman D 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: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 


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