How do I propogate user identity from a webapp to slide using the client API?

2004-03-31 Thread Ryan Rhodes
We are using the slide client API inside of a webapp.  If slide requires 
authentication credentials, then I'm going to need the username/password to 
access it with the client API.  I don't want to expose credentials in the 
webapp, but I would like to let slide keep managing access control to the 
documents I'm exposing in the webapp.

Does anyone have a decent solution for this?

_
Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! 
http://toolbar.msn.com/go/onm00200414ave/direct/01/

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


RE: How do I propogate user identity from a webapp to slide using the client API?

2004-03-31 Thread Chamberlain James O. CONTR J9C998
I am also very interested in this. A couple options that I have been
batting around are:

1. Try and capture the user's session id (jsessionid) and pass it either
as a cookie or appended to the url (like ;jsessionid=X) when talking
with the slide server.

2. Coding my web application to talk directly to the WebdavServlet. This
looks like it's going to be painful, but it's probably also the most
promising approach.

3. Code my web application directly against the Slide server API.


What would be really great is if the Slide client API could be
configured to talk to the Slide server via WEBDAV over HTTP or talk
directly via a server side API. That way the code changes to external
applications would be minimal. Does this seem like something that could
be added down the road (or at least something of interest to others on
the list)?


Regards,
 
James

-Original Message-
From: Ryan Rhodes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 10:39 AM
To: [EMAIL PROTECTED]
Subject: How do I propogate user identity from a webapp to slide using
the client API?

We are using the slide client API inside of a webapp.  If slide requires
authentication credentials, then I'm going to need the username/password
to access it with the client API.  I don't want to expose credentials in
the webapp, but I would like to let slide keep managing access control
to the documents I'm exposing in the webapp.

Does anyone have a decent solution for this?

_
Get rid of annoying pop-up ads with the new MSN Toolbar - FREE! 
http://toolbar.msn.com/go/onm00200414ave/direct/01/


-
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]



RE: How do I propogate user identity from a webapp to slide using the client API?

2004-03-31 Thread Michael Oliver
I used the Client Library to build a helper class that wrapped all the
Client Methods and persisted the connection.  Then when I instantiate
this helper class and do a connect in my Login action using the username
and password and get a good response I store the object in the session.
Then in all my actions I check for this Client object in the session, if
it isn't there I forward to the Login page with a nextUrl back to the
desired action or to home depending on my business logic.

__
Michael Oliver
CTO
Matrix Intermedia Inc
7391 S. Bullrider Ave.
Tucson, AZ 85747
Phone +1 (520) 574-1150
Fax +1 (520) 844-1036
ICQ#: 318986322

Current ICQ status: 
*  More ways to contact me 
__


-Original Message-
From: Ryan Rhodes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 8:39 AM
To: [EMAIL PROTECTED]
Subject: How do I propogate user identity from a webapp to slide using
the client API?

We are using the slide client API inside of a webapp.  If slide requires

authentication credentials, then I'm going to need the username/password
to 
access it with the client API.  I don't want to expose credentials in
the 
webapp, but I would like to let slide keep managing access control to
the 
documents I'm exposing in the webapp.

Does anyone have a decent solution for this?

_
Get rid of annoying pop-up ads with the new MSN Toolbar - FREE! 
http://toolbar.msn.com/go/onm00200414ave/direct/01/


-
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]