Yes. The .NET client requires that you have Forms Auth enabled in the config. However, if I recall correctly in previous versions of the client there's used to be a CasAlternateAuthModule that did not have that mandate and was solely session-based. With a little bit of digging around, you could review the code for CasAlternateAuthModule.cs and see if you can leverage a non forms-auth based implementation for your needs.
-Misagh -----Original Message----- From: Klas Wikblad [mailto:[email protected]] Sent: Friday, May 11, 2012 8:01 AM To: [email protected] Subject: [cas-user] DotNetCasClient without Forms Authentication Hello! I have a question, I´ve used Cas for some time now for different clients. We have externalized the authentication process so we only use Cas for the Tickethandling and the Client/Filter for protecting resources. So the filter is configured to check if a user is authenticated with a Cas-ticket. If they are, let them through. If not send them to my.authentication.com/login and then back when theyre ready. Heres the problem, the Dot Net Cas Client crashes since there are no Forms Authentication Provider Registered in the IIS. We downloaded the code and debugged and it goes out the windows with the message "The Cas Authentication Provider requires forms authentication to be enabled in web.config" when intercepting requests. Does that mean that using Forms Authentication is mandatory for the .Net Cas Client? Best Regards! -- __________________________ [email protected] -- 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
