Does anybody have an idea ? or have remember me implemented ? regards fred
________________________________ From: Jacquet, Frederic [[email protected]] Sent: Tuesday, August 30, 2011 8:15 AM To: [email protected] Subject: RE: [cas-user] mod_auth_cas and remember me Here we are, the whole WEB-INF ... Hope it helps fred ________________________________ From: Scott Battaglia [[email protected]] Sent: Tuesday, August 30, 2011 3:53 AM To: [email protected] Subject: Re: [cas-user] mod_auth_cas and remember me Can you post your configuration files (making sure no passwords, etc. are in them)? On Mon, Aug 29, 2011 at 4:54 PM, Jacquet, Frederic <[email protected]<mailto:[email protected]>> wrote: here is some logs, I made 3 tries 2011-08-29 22:47:07,379 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - Setting path for cookies to: /cas/ 2011-08-29 22:47:07,594 DEBUG [org.jasig.cas.web.flow.GenerateLoginTicketAction] - Generated login ticket LT-1-OHCVpmRB6vhC2E7KD4fbKmnldw6bZB 2011-08-29 22:47:17,914 DEBUG [org.springframework.ldap.pool.factory.DirContextPoolableObjectFactory] - Creating a new READ_ONLY DirContext 2011-08-29 22:47:17,923 DEBUG [org.springframework.ldap.pool.factory.DirContextPoolableObjectFactory] - Created new READ_ONLY DirContext='javax.naming.ldap.InitialLdapContext@5728bd62' 2011-08-29 22:47:18,266 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully authenticated the user which provided the following credentials: [username: fjacquet] 2011-08-29 22:47:18,267 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Attempting to resolve a principal... 2011-08-29 22:47:18,267 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Creating SimplePrincipal for [fjacquet] 2011-08-29 22:47:18,290 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - Resolved principal fjacquet 2011-08-29 22:47:18,292 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - Principal found: fjacquet 2011-08-29 22:47:18,292 DEBUG [org.jasig.cas.authentication.AuthenticationManagerImpl] - Attribute map for fjacquet: {} 2011-08-29 22:48:43,697 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Reloading registered services. 2011-08-29 22:48:43,749 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Loaded 0 services. 2011-08-29 22:48:57,120 DEBUG [org.jasig.cas.web.flow.InitialFlowSetupAction] - Placing service in FlowScope: http://evian.feedback.eu.org/administration/news.php 2011-08-29 22:48:57,177 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-1-0K3FxZl1MWg3ebBIfKdY-idp2] for service [http://evian.feedback.eu.org/administration/news.php] for user [fjacquet] 2011-08-29 22:50:08,167 DEBUG [org.jasig.cas.web.flow.InitialFlowSetupAction] - Placing service in FlowScope: http://evian.feedback.eu.org/administration/ 2011-08-29 22:50:08,170 DEBUG [org.jasig.cas.web.flow.GenerateLoginTicketAction] - Generated login ticket LT-2-Q0MFnKulf94o3xZPmSi7Ipddng69bP 2011-08-29 22:50:13,611 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully authenticated the user which provided the following credentials: [username: fjacquet] 2011-08-29 22:50:13,612 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Attempting to resolve a principal... 2011-08-29 22:50:13,613 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Creating SimplePrincipal for [fjacquet] 2011-08-29 22:50:13,613 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - Resolved principal fjacquet 2011-08-29 22:50:13,613 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - Principal found: fjacquet 2011-08-29 22:50:13,614 DEBUG [org.jasig.cas.authentication.AuthenticationManagerImpl] - Attribute map for fjacquet: {} 2011-08-29 22:50:13,689 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-2-ezi0OPLlgfoGxJ0mG0uq-idp2] for service [http://evian.feedback.eu.org/administration/] for user [fjacquet] 2011-08-29 22:50:43,688 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Reloading registered services. 2011-08-29 22:50:43,708 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - Loaded 0 services. 2011-08-29 22:51:06,702 DEBUG [org.jasig.cas.web.flow.InitialFlowSetupAction] - Placing service in FlowScope: http://evian.feedback.eu.org/administration/ 2011-08-29 22:51:06,705 DEBUG [org.jasig.cas.web.flow.GenerateLoginTicketAction] - Generated login ticket LT-3-VHLecWHPnpdJDTJtOiWrLGBdgyaLOg 2011-08-29 22:51:11,323 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully authenticated the user which provided the following credentials: [username: fjacquet] 2011-08-29 22:51:11,324 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Attempting to resolve a principal... 2011-08-29 22:51:11,324 DEBUG [org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver] - Creating SimplePrincipal for [fjacquet] 2011-08-29 22:51:11,324 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - Resolved principal fjacquet 2011-08-29 22:51:11,324 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - Principal found: fjacquet 2011-08-29 22:51:11,324 DEBUG [org.jasig.cas.authentication.AuthenticationManagerImpl] - Attribute map for fjacquet: {} 2011-08-29 22:51:11,340 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-3-rN5WLjagtQctn4qoJgmW-idp2] for service [http://evian.feedback.eu.org/administration/] for user [fjacquet] but I must admit does not speak so much to me ... ________________________________ From: Jacquet, Frederic [[email protected]<mailto:[email protected]>] Sent: Monday, August 29, 2011 10:04 PM To: [email protected]<mailto:[email protected]> Subject: RE: [cas-user] mod_auth_cas and remember me I can login to application without issues and use SSO between Moodle, Sharepoint and other apps like glpi yes ________________________________ From: Scott Battaglia [[email protected]<mailto:[email protected]>] Sent: Monday, August 29, 2011 6:23 PM To: [email protected]<mailto:[email protected]> Subject: Re: [cas-user] mod_auth_cas and remember me You mention mod_auth_cas but are you able to get new service tickets in general from CAS? On Mon, Aug 29, 2011 at 11:15 AM, Jacquet, Frederic <[email protected]<mailto:[email protected]>> wrote: as stated in wiki I have <bean id="grantingTicketExpirationPolicy" class="org.jasig.cas.ticket.support.RememberMeDelegatingExpirationPolicy"> <property name="sessionExpirationPolicy"> <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy"> <constructor-arg index="0" value="604800" /> </bean> </property> <property name="rememberMeExpirationPolicy"> <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy"> <constructor-arg index="0" value="604800" /> </bean> </property> </bean> and <bean id="ticketGrantingTicketCookieGenerator" class="org.jasig.cas.web.support.CookieRetrievingCookieGenerator" p:cookieSecure="true" p:cookieMaxAge="-1" p:cookieName="CASTGC" p:cookiePath="/cas" p:rememberMeMaxAge="604800" p:cookieDomain="feedback.eu.org<http://feedback.eu.org>" /> I use the default ticket registry to be able to connect using terracotta... does it look good ? regards fred ________________________________ From: Scott Battaglia [[email protected]<mailto:[email protected]>] Sent: Monday, August 29, 2011 4:49 PM To: [email protected]<mailto:[email protected]> Subject: Re: [cas-user] mod_auth_cas and remember me Two comments: 1. Did you set the expiration policy correctly? 2. Did you extend the cookie expiration time? Those would normally be the two things that control whether you can still access the session. On Mon, Aug 29, 2011 at 10:24 AM, Jacquet, Frederic <[email protected]<mailto:[email protected]>> wrote: dear all I try to fix a request from my users asking to be able to use the <<remember me>> feature on a php site protected using mod_auth_cas. I have adapt my pom and follow the wiki to setup Remember me but when I tick the option on login, use the web site and leave my browser, I restart the browser and ... need to relogin :( so my questions : * is mod_auth_cas compatible with remember me ? * moodle seems to suffer the same :/ I will see later if ADFS and Sharepoint are compatible ( using the Shibboleth link ) regards fred -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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 -- 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
