Does anyone have any experience with this?
-----Original Message-----
From: Bob Damato [mailto:bob_damato coxtarget.com]
Sent: Monday, August 28, 2006 11:33 AM
To: slide-user jakarta.apache.org
Subject: SSO cookie scenario
I'm attempting to use Slide to communicate with an Exchange
server. I am
able to connect and retrieve information using basic auth so
I know I'm
on the right track. The next thing I need to do is integrate
our single
sign on cookie. I have been digging through the Slide
javadocs and can't
seem to figure out exactly how I would attach a cookie to my
initial
request.
Below is some code that is working for me (using basic
auth). My goal is
to remove the NTCredentials piece and replace it with an
encrypted
cookie that the server is already configured to accept for
SSO.
HttpURL httpURL = new HttpURL("http://SERVER/exch
ange/USER/Inbox/");
NTCredentials ntc = new NTCredentials("USER",
"PASSWORD", "HOST",
"DOMAIN"); WebdavResource wr = new
WebdavResource(httpURL, ntc,
WebdavResource.ALL, 0); wr.setFollowRedirects(true);
WebdavResources
resources = wr.getChildResources();
Any ideas how/where I would attach a cookie here?
Thanks!!!
____________________________________________________________
____________
_____________
Bob Damato
Cox Target Media
Internet Technology Manager
Largo, Florida
Our greatest glory is not in never falling, but in rising
every time we
fall. -- Confucius
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|