简体   繁体   中英

How to read cookies that is set by CAS server in ASP.NET?


I am doing a single singon feature. I have more than one application and need to provide SSO feature. App1 - Java
App2 - .NET
CAS SERVER - JASIG

when i login to cas server, say htts://server.com:8443/cas/login it sets a cookie for successful login.

So when i access any of the .net page, say http://xxxxx.com/login , i need to see whether there is any cookie already set. If cookie is already set then i need to get the cookie and authenticate the user.

The problem that i am facing is, i am not able to get the cookie set by Java(CAS Server) in .NET.

CAS SEVER is https and my .net app is http. Could that be an issue?

PLease advice.

- Nimi

这是一篇清楚地讨论asp.net问题中的cas服务器的文章。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM