Hi,
The CAS server seems work ok, I can login correctly in the cas login page.
And there is no error information in the cas logs.
The exception was thrown out in the CasOwaAuthHandler:
public void ProcessRequest(HttpContext context)
{
var user = context.User as ICasPrincipal;
if (user == null)
{
throw new HttpException(500, "HttpContext.Current.User is
null. Check that the DotNetCasClient is mapped and configured correctly in
<web.conf>");
}
.....
}
I step into the code and found the context.User was null. It seems the
DotNetCasClient doesn't work correctly.
Ps. About the SSL, I use a self signed SSL certificate, and I turn on
CasOwa.skipOwaUrlCertificateValidation in the web.config.
-----Original Message-----
From: William G. Thompson, Jr. [mailto:[email protected]]
Sent: Monday, March 22, 2010 2:26 AM
To: [email protected]
Subject: Re: [cas-user] Where can i get the manual of CAS Client For OWA
Hi Shawn,
SSL problem? Any thing in the CAS server logs?
I would turn on debugging in the CAS server and step though the
CasOwa/CasClient on the .NET side of things to determine where it's
failing.
Bill
On Sat, Mar 20, 2010 at 2:20 AM, Shawn Young <[email protected]> wrote:
> Hi William,
>
>
>
> I have deployed the casowa, but when I try to access
> http://localhost:2009/auth, its can redirect to the cas server, and get
the
> ticket successfully, but then a exception happened:
>
> HttpContext.Current.User is null. Check that the
> DotNetCasClient is mapped and configured correctly in <web.conf>
>
>
>
> Can u help me get out of this?
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user