If you have written the filter, what does it expect? If you have BASIC
authentication turned on, then the http client that the webdev client
uses for transport allows you to add the username/password for such a
case (see the command line slide client as an example). If you've
written a custom login module, you'll have to do whatever you have it
expect for the username/password. 

James

> -----Original Message-----
> From: Mark Wood [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 26, 2003 6:17 AM
> To: [EMAIL PROTECTED]
> Subject: Http Session Question
> 
> 
> I have a question about using the Slide Webdav Client libs 
> and accessing 
> http session info.  Essentially what I would like to be able to do is 
> connect to my server (Tomcat 4.0.6) from a client application.  The 
> server contains a filter which intercepts any requests, 
> checks that the 
> user is logged in and has appropriate permissions and then continues 
> with the request, passing it on to the standard Tomcat WebdavServlet. 
>  On the server-side, once the user logs in, the user info is added to 
> the session.  What I can't figure out is how to construct the 
> request on 
> the client side to perform the login (a servlet url with some 
> parameters 
> attached) and webDAV requests (get, lock, put, etc.) so that the user 
> info gets properly added to the session by the filter, and 
> how to access 
> this user info in the session from the client.  Is this 
> possible, and if 
> so, what methods are used?  I've searched through the mail 
> archives and 
> seen some references to sessions and cookies, but so far have not had 
> any luck getting it to work.  Any help appreciated.
> 
> Mark Wood
> 
> 
> ---------------------------------------------------------------------
> 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