Hello,

We are running CAS version 4.0.7.  We are trying to figure out what is causing 
the problem when we try to use Renew=true flag.


When we try to use Renew=true, the Logon work fine first time (when CASTGE 
cookie does not exists), but when user logout and try to login again, user 
unable to login.

We noticed the when user logout, CASTGC cookie is set blank.  If we manually 
delete this cookie, then logon works fine


Here is part of CAS log.
2016-01-26 06:58:10,419 DEBUG [org.springframework.webflow.engine.ActionState] 
- <Entering state 'realSubmit' of flow 'login'>
2016-01-26 06:58:10,419 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Executing 
[EvaluateAction@6e781008 expression = 
authenticationViaFormAction.submit(flowRequestContext, flowScope.credential, 
messageContext), resultExpression = [null]]>
2016-01-26 06:58:10,419 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Putting action 
execution attributes map[[empty]]>
2016-01-26 06:58:10,419 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] - 
<Returning cached instance of singleton bean 'authenticationViaFormAction'>
2016-01-26 06:58:10,429 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket []>
2016-01-26 06:58:10,429 DEBUG [org.jasig.cas.CentralAuthenticationServiceImpl] 
- <TicketGrantingTicket [] cannot be found in the ticket registry.>
2016-01-26 06:58:10,430 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket []>
2016-01-26 06:58:10,431 INFO [org.perf4j.TimingLogger] - <start[1453820290427] 
time[3] tag[GRANT_SERVICE_TICKET]>
2016-01-26 06:58:10,431 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Clearing action 
execution attributes map[[empty]]>
2016-01-26 06:58:10,431 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Finished executing 
[EvaluateAction@6e781008 expression = 
authenticationViaFormAction.submit(flowRequestContext, flowScope.credential, 
messageContext), resultExpression = [null]]; result = error>
2016-01-26 06:58:10,432 DEBUG [org.springframework.webflow.engine.Transition] - 
<Executing [Transition@685501b2 on = error, to = generateLoginTicket]>
2016-01-26 06:58:10,432 DEBUG [org.springframework.webflow.engine.Transition] - 
<Exiting state 'realSubmit'>
2016-01-26 06:58:10,432 DEBUG [org.springframework.webflow.engine.ActionState] 
- <Entering state 'generateLoginTicket' of flow 'login'>
2016-01-26 06:58:10,432 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Executing 
[EvaluateAction@6cdb169a expression = 
generateLoginTicketAction.generate(flowRequestContext), resultExpression = 
[null]]>
2016-01-26 06:58:10,432 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Putting action 
execution attributes map[[empty]]>
2016-01-26 06:58:10,432 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] - 
<Returning cached instance of singleton bean 'generateLoginTicketAction'>
2016-01-26 06:58:10,432 DEBUG 
[org.jasig.cas.web.flow.GenerateLoginTicketAction] - <Generated login ticket 
LT-4-QzpOefJa9avAO0C2TVHQiSUxK7bCb5-xx>
2016-01-26 06:58:10,432 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Clearing action 
execution attributes map[[empty]]>
2016-01-26 06:58:10,432 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Finished executing 
[EvaluateAction@6cdb169a expression = 
generateLoginTicketAction.generate(flowRequestContext), resultExpression = 
[null]]; result = generated>
2016-01-26 06:58:10,433 DEBUG [org.springframework.webflow.engine.Transition] - 
<Executing [Transition@31dff840 on = generated, to = viewLoginForm]>
2016-01-26 06:58:10,433 DEBUG [org.springframework.webflow.engine.Transition] - 
<Exiting state 'generateLoginTicket'>
2016-01-26 06:58:10,433 DEBUG [org.springframework.webflow.engine.ViewState] - 
<Entering state 'viewLoginForm' of flow 'login'>
2016-01-26 06:58:10,433 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Executing 
[SetAction@2bd5db0f name = viewScope.commandName, value = 'credential']>
2016-01-26 06:58:10,433 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Putting action 
execution attributes map[[empty]]>
2016-01-26 06:58:10,433 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Clearing action 
execution attributes map[[empty]]>
2016-01-26 06:58:10,433 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Finished executing 
[SetAction@2bd5db0f name = viewScope.commandName, value = 'credential']; result 
= success>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to