Your configuration does not look much different than mine. In the authentication section I do not use the timeout or the slidingexpiration attributes but I wouldn't think that would be the issue otherwise I do not see anything else.
-----Original Message----- From: Lukas [mailto:[email protected]] Sent: Monday, October 22, 2012 8:23 AM To: [email protected] Subject: RE:[cas-dev] Starting with CAS and .NET Unfortunately it doesn't work for me. Web.config has configuration: <casClientConfig casServerLoginUrl="https://vm-sid-zib-ske2:8443/cas/login" serverName="http://192.168.1.2" casServerUrlPrefix="https://vm-sid-zib-ske2:8443/cas/" redirectAfterValidation="true" serviceTicketManager="CacheServiceTicketManager" gateway="false" renew="false" ticketValidatorName="Cas20" ticketTimeTolerance="5000" singleSignOut="true" gatewayStatusCookieName="CasGatewayStatus" /> And authentication: <authentication mode="Forms"> <forms loginUrl="https://vm-sid-zib-ske2:8443/cas/login" timeout="30" cookieless="UseCookies" defaultUrl="~/Default.aspx" slidingExpiration="true" path="/CasAuthentication/"/> </authentication> After PostBack on Default.aspx: User.Identity.IsAuthenticated = false User.Identity.Name = "" In this web site (https://wiki.jasig.org/display/CASC/.Net+Cas+Client) there is example of casClientConfig: <casClientConfig casServerLoginUrl="https://server.example.com/cas/login" casServerUrlPrefix="https://server.example.com/cas/" serverName="https://client.example.com:8443" notAuthorizedUrl="~/NotAuthorized.aspx" cookiesRequiredUrl="~/CookiesRequired.aspx" redirectAfterValidation="true" renew="false" singleSignOut="true" ticketValidatorName="Cas20" serviceTicketManager="CacheServiceTicketManager" /> Maybe I need enable SSL on Client? -- 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-dev -- 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-dev
