Re: Use owa cookie for authentication
From: Mathias Erlandsson (MathiasErlandsson_at_discussions.microsoft.com)
Date: 01/18/05
- Next message: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Previous message: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- In reply to: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Next in thread: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Reply: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 03:27:04 -0800
I'm not quite sure yet on how to do this.
I will try to explain how my program works.
The user loggs into owa as usual and gets his mailbox. What I have done is
to insert an iframe into the left side of owa(I modified vw_navbar.js to do
this) that calls my application. When the application runs in the iframe, it
doesn't have a valid authentication, so I have to get it from the cookies
that owa has created.
The application must connect to the user in Acitve Directory and read som
properties and then connect to the Exchangeserver and read som more
properties.
The problem is that I have to get my application authenticated so I get the
right permissions. How can I use a cookie to authenticate my application?
/Mathias
"Lee Derbyshire [MVP]" wrote:
> "Mathias Erlandsson" <MathiasErlandsson@discussions.microsoft.com> wrote in
> message news:6E21BCB7-EA41-44A7-9146-2ED0E7309918@microsoft.com...
> > Thanks for the reply.
> >
> > I have managed to get theese cookies, but I'm not sure on how to use them.
> > The plugin is a c# asp .net application that needs to authenticate the
> > user
> > against Active Directory. Don't I have to decode the cadata cookie to get
> > the
> > username and password so I can authenticate against the domain?
> >
> > /Mathias
>
> I don't know about C# (I only use VBScript), but I assume you have a
> component that makes your requests for you. You should have supplied a
> username and password in your first POST to owaauth.dll. The sessionid and
> cadata that were returned now 'go with' that username and password for the
> entire session, so you continue to assign the existing creds to the
> component, and then add the sessionid and cadata request headers (no, you
> don't have to do any decoding) to get subsequent requests into /Exchange .
>
> Lee.
>
> --
> ___________________________________
>
> Outlook Web Access for PDA and WAP:
> www.leederbyshire.com
> ___________________________________
>
>
>
>
- Next message: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Previous message: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- In reply to: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Next in thread: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Reply: Lee Derbyshire [MVP]: "Re: Use owa cookie for authentication"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|