Just to clarify, is this what you mean? This works: > casServerLoginUrl="https://login.enasco.it:8443/cas/login" > casServerUrlPrefix="http://login.enasco.it:8080/cas/"
This doesn't? > casServerLoginUrl="https://login.enasco.it:8443/cas/login" > casServerUrlPrefix="https://login.enasco.it:8443/cas/" -Scott > -----Original Message----- > From: dom...@interfree.it [mailto:dom...@interfree.it] > Sent: Thursday, June 03, 2010 6:16 AM > To: cas-dev@lists.jasig.org > Subject: Re: RE: RE: [cas-dev] .net CAS client > > Little update. > > in web.config of exampleWebsite I used: > > casServerLoginUrl="https://login.enasco.it:8443/cas/login" > serverName="http://sso.enascoservizi.it" > casServerUrlPrefix="http://login.enasco.it:8080/cas/" > > on casServerUrlPrefix i used nonSSL CAS url, and it works > both on php and .net. there is any documentation on this behavior? > thanks > > > > -----Messaggio originale----- > Da: dom...@interfree.it > Inviato il: 28 Mag 2010 - 20:42 > A: cas-dev@lists.jasig.org > > > thanks Scott, > I use ExampleWebSite. Doesn't work :S > It's possible that Cas try to redirect 8443 port on 443? > > Here is log of .net > 2010-05-27 20:15:55,492 [9] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting:Summary: > Session: contextSession[unavailable] -- > applicationSession[unavailable] > Request: authcookie [NULL] authticket [NULL] > Response: statusCode>200< > Context: Context.User[NULL] > Thread.CurrentPrincipal[Type>GenericPrincipal< > Identity[Name>< AuthenticationType>< IsAuthenticated>False]] > 2010-05-27 20:15:55,492 [9] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting with > cookie[ASP.NET_SessionId]=whw3l0552okaj455botfw455 > 2010-05-27 20:17:12,992 [7] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting:Summary: > Session: contextSession[unavailable] -- > applicationSession[unavailable] > Request: authcookie [NULL] authticket [NULL] > Response: statusCode>200< > Context: Context.User[NULL] > Thread.CurrentPrincipal[Type>GenericPrincipal< > Identity[Name>< AuthenticationType>< IsAuthenticated>False]] > 2010-05-27 20:17:12,992 [7] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting with > cookie[ASP.NET_SessionId]=whw3l0552okaj455botfw455 > 2010-05-27 20:17:12,992 [7] DEBUG CasAuthentication - > ConstructServiceUri:return generated serviceUri: > http://sso.enascoservizi.it/default.aspx > 2010-05-27 20:17:12,992 [7] DEBUG > DotNetCasClient.Validation.AbstractUrlTicketValidator - > Validate:Constructed validation > url:https://intranet.enasco.it:8443/cas/serviceValidate?ticket=ST-18- > XNGdfHlVzerOjc2UU09E- > cas&service=http%3a%2f%2fsso.enascoservizi.it%2fdefault.aspx&pgtUrl= > > 2010-05-27 20:17:14,054 [7] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting:Summary: > Session: contextSession[unavailable] -- > applicationSession[unavailable] > Request: authcookie [NULL] authticket [NULL] > Response: statusCode>200< > Context: Context.User[NULL] > Thread.CurrentPrincipal[Type>GenericPrincipal< > Identity[Name>< AuthenticationType>< IsAuthenticated>False]] > 2010-05-27 20:17:14,054 [7] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting with > cookie[ASP.NET_SessionId]=whw3l0552okaj455botfw455 > ----------------------- > > this on nonSSL website > > 2010-05-27 20:29:26,788 [1] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting:Summary: > Session: contextSession[unavailable] -- > applicationSession[unavailable] > Request: authcookie [NULL] authticket [NULL] > Response: statusCode>200< > Context: Context.User[NULL] > Thread.CurrentPrincipal[Type>GenericPrincipal< > Identity[Name>< AuthenticationType>< IsAuthenticated>False]] > 2010-05-27 20:29:26,788 [1] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting with > cookie[ASP.NET_SessionId]=d20glj45lkqrkk5553bzbh55 > 2010-05-27 20:29:26,788 [1] DEBUG CasAuthentication - > ConstructServiceUri:return generated serviceUri: > http://sso2.enascoservizi.it/Default.aspx > 2010-05-27 20:29:26,788 [1] DEBUG > DotNetCasClient.Validation.AbstractUrlTicketValidator - > Validate:Constructed validation > url:http://intranet.enasco.it:8080/cas/serviceValidate?ticket=ST-21- > cQR4oa5ggw5gH0vk7Qpp- > cas&service=http%3a%2f%2fsso2.enascoservizi.it%2fDefault.aspx&pgtUrl= > > 2010-05-27 20:29:26,804 [1] DEBUG > DotNetCasClient.Validation.AbstractUrlTicketValidator - Validate:Ticket > validation server response:> > > MIKO > > > > < > 2010-05-27 20:29:26,804 [1] INFO > DotNetCasClient.Proxy.ProxyGrantingTicketStorage - > ProxyGrantingTicketIou is null, check ProxyCallbackUrl config > 2010-05-27 20:29:26,804 [1] DEBUG CasAuthentication - > CreateFormsAuthenticationTicket:Incoming CAS Assertion: ST-21- > cQR4oa5ggw5gH0vk7Qpp-cas > 2010-05-27 20:29:26,866 [1] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting:Summary: > Session: contextSession[unavailable] -- > applicationSession[unavailable] > Request: authcookie [Name>.ASPXAUTH< Expires>01/01/0001 0.00.00<] > authticket [name>MIKO< userdata>ST-21-cQR4oa5ggw5gH0vk7Qpp-cas< > issuedate>27/05/2010 20.29.26< expiration>27/05/2010 20.59.26< > expired>False< ispersistent>False<] > Response: statusCode>200< > Context: Context.User[Type>GenericPrincipal< Identity[Name>MIKO< > AuthenticationType>Forms< IsAuthenticated>True]] > Thread.CurrentPrincipal[Type>GenericPrincipal< > Identity[Name>< AuthenticationType>< IsAuthenticated>False]] > 2010-05-27 20:29:26,882 [1] DEBUG CasAuthenticationModule - > OnAuthenticateRequest:starting with > cookie[ASP.NET_SessionId]=d20glj45lkqrkk5553bzbh55 > > > -----Messaggio originale----- > Da: "Scott M. Holodak" > Inviato il: 28 Mag 2010 - 12:05 > A: cas-dev@lists.jasig.org > > > Try the ExampleWebSite instead of ExampleWebApp. ExampleWebApp was > targeting an older version of the client and was going to be > removed/merged before the 1.0 release. > > > -----Original Message----- > > From: dom...@interfree.it [mailto:dom...@interfree.it] > > Sent: Friday, May 28, 2010 1:44 AM > > To: cas-dev@lists.jasig.org > > Subject: Re: RE: [cas-dev] .net CAS client > > > > Hi Scott, > > I used examplewebapp from last trunk on svn. > > > > https://sso.enascoservizi.it > > http://sso2.enascoservizi.it > > > > initially i get a message "your browser doent accept cookie" so in > > web.config > > deleted path="/example/" in forms declaration > > > > Domenico > > > > -----Messaggio originale----- > > Da: "Scott M. Holodak" > > Inviato il: 27 Mag 2010 - 20:05 > > A: cas-dev@lists.jasig.org > > > > > > Hi, > > > > Do you know which version of the CAS client you're using? I would > > recommend checking out & building the trunk. Also, there are 2 > example > > sites there. The ExampleWebApp is older and may not work with the > > DotNetCasClient library. ExampleWebSite is the latest, using the > newest > > configuration. I would try getting ExampleWebSite to work on your 2 > > subdomains if that's not what you're already doing. Read through the > > comments in the web.config file for details on configuring it. > > > > If you still run into problems, can you provide the URLs before the > CAS > > login page, at the CAS login page, and after (the blank page)? > > > > -Scott > > > > > > > -----Original Message----- > > > From: dom...@interfree.it [mailto:dom...@interfree.it] > > > Sent: Thursday, May 27, 2010 3:15 PM > > > To: cas-dev@lists.jasig.org > > > Subject: [cas-dev] .net CAS client > > > > > > Hi, > > > I have a working CAS server on linux and using an external MSSQL > > > identity store. > > > Cas works on machine with moodle and phpCAS > > > > > > I've some trouble with .net client on another machine > > > I installed sample webapp on two subdomain, one using SSL (on cas > > login > > > page) other whitout. > > > > > > Domain that use CAS login without SSL works. > > > > > > other domain fail: > > > on Asp.net page I click on login, > > > get redirected to https cas login page > > > insert credentials > > > get back on asp.net page with thicket > > > then nothing on page info, nothing on user.identity, but if I go on > a > > > moodle website (with the same cas instance configured) i get valid > > > session, and i'm logged. > > > > > > I tried to import in some way tomcat certificate, however after > > > authentication my pages doesn't use SSL > > > > > > could be the firewall? why it works on non-SSL subdomain? > > > > > > thanks > > > > > > > > > ----------------------------------------------------------------------- > > > -------- > > > Valore legale alle tue mail > > > InterfreePEC - la tua Posta Elettronica Certificata > > > http://pec.interfree.it > > > > > > ----------------------------------------------------------------------- > > > -------- > > > > > > -- > > > You are currently subscribed to cas-dev@lists.jasig.org as: > > > sholo...@princeton.edu > > > To unsubscribe, change settings or access archives, see > > http://www.ja- > > > sig.org/wiki/display/JSG/cas-dev > > > > -- > > You are currently subscribed to cas-dev@lists.jasig.org as: > > dom...@interfree.it > > To unsubscribe, change settings or access archives, see > http://www.ja- > > sig.org/wiki/display/JSG/cas-dev > > > > > ----------------------------------------------------------------------- > > -------- > > Valore legale alle tue mail > > InterfreePEC - la tua Posta Elettronica Certificata > > http://pec.interfree.it > > > ----------------------------------------------------------------------- > > -------- > > > > -- > > You are currently subscribed to cas-dev@lists.jasig.org as: > > sholo...@princeton.edu > > To unsubscribe, change settings or access archives, see > http://www.ja- > > sig.org/wiki/display/JSG/cas-dev > > -- > You are currently subscribed to cas-dev@lists.jasig.org as: > dom...@interfree.it > To unsubscribe, change settings or access archives, see http://www.ja- > sig.org/wiki/display/JSG/cas-dev > > ----------------------------------------------------------------------- > -------- > Valore legale alle tue mail > InterfreePEC - la tua Posta Elettronica Certificata > http://pec.interfree.it > ----------------------------------------------------------------------- > -------- > > -- > You are currently subscribed to cas-dev@lists.jasig.org as: > sholo...@princeton.edu > To unsubscribe, change settings or access archives, see http://www.ja- > sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev