Somewhere in the logs, there's more info on the following exception. See if you 
could track that down and post back please. 


2014-01-02 17:16:34,983 DEBUG 
[org.springframework.webflow.engine.impl.FlowExecutionImpl] - <Attempting to 
handle [org.springframework.webflow.execution.ActionExecutionException: 
Exception thrown executing 
org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@5d1e1c80 in state 
'passwordPolicyCheck' of flow 'login' -- action execution attributes were 
'map[[empty]]'] with root cause [java.lang.NullPointerException 





Misagh 


----- Original Message -----

From: "ray" <[email protected]> 
To: [email protected] 
Sent: Thursday, January 2, 2014 8:22:56 AM 
Subject: [cas-user] Error enabling passwordPolicyCheck 

Hi, 
I am trying to integrate lppe with cas for days now. 

I followed: https://wiki.jasig.org/pages/viewpage.action?pageId=26149328 

I am trying to authenticate with a valid user and for some reason i am being 
redirected to cas error page(CAS is Unavailable 
There was an error trying to complete your request. Please notify your support 
desk or try again..) 

This is from the logs: 


Audit trail record BEGIN 
============================================================= 
WHO: [username: iuser] 
WHAT: supplied credentials: [username: iuser] 
ACTION: AUTHENTICATION_SUCCESS 
APPLICATION: CAS 
WHEN: Thu Jan 02 17:16:34 IST 2014 
CLIENT IP ADDRESS: 192.168.108.195 
SERVER IP ADDRESS: 192.168.2.101 
============================================================= 


Audit trail record BEGIN 
============================================================= 
WHO: [username: iuser] 
WHAT: TGT-2-0DcVF0eM01afDjmlzqwJaleis9dxcQXfUhau1xOdycZYsfLJnX-cas 
ACTION: TICKET_GRANTING_TICKET_CREATED 
APPLICATION: CAS 
WHEN: Thu Jan 02 17:16:34 IST 2014 
CLIENT IP ADDRESS: 192.168.108.195 
SERVER IP ADDRESS: 192.168.2.101 
============================================================= 


2014-01-02 17:16:34,973 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Clearing action 
execution attributes map[[empty]]> 
2014-01-02 17:16:34,973 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Finished executing 
[EvaluateAction@7ea94b8e expression = 
authenticationViaFormAction.submit(flowRequestContext, flowScope.credentials, 
messageContext), resultExpression = [null]]; result = success> 
2014-01-02 17:16:34,974 DEBUG [org.springframework.webflow.engine.Transition] - 
<Executing [Transition@7d71c009 on = success, to = passwordPolicyCheck]> 
2014-01-02 17:16:34,974 DEBUG [org.springframework.webflow.engine.Transition] - 
<Exiting state 'realSubmit'> 
2014-01-02 17:16:34,974 DEBUG [org.springframework.webflow.engine.ActionState] 
- <Entering state 'passwordPolicyCheck' of flow 'login'> 
2014-01-02 17:16:34,974 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Executing 
[EvaluateAction@db2e9f6 expression = passwordPolicyAction, resultExpression = 
[null]]> 
2014-01-02 17:16:34,974 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Putting action 
execution attributes map[[empty]]> 
2014-01-02 17:16:34,974 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - <Executing 
org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@5d1e1c80> 
2014-01-02 17:16:34,983 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - <Clearing action 
execution attributes map[[empty]]> 
2014-01-02 17:16:34,983 DEBUG 
[org.springframework.webflow.engine.impl.FlowExecutionImpl] - <Attempting to 
handle [org.springframework.webflow.execution.ActionExecutionException: 
Exception thrown executing 
org.jasig.cas.web.flow.PasswordPolicyEnforcementAction@5d1e1c80 in state 
'passwordPolicyCheck' of flow 'login' -- action execution attributes were 
'map[[empty]]'] with root cause [java.lang.NullPointerException]> 
2014-01-02 17:16:34,983 DEBUG 
[org.springframework.webflow.engine.impl.FlowExecutionImpl] - <Rethrowing 
unhandled flow execution exception> 
2014-01-02 17:16:34,983 DEBUG 
[org.springframework.webflow.conversation.impl.SessionBindingConversationManager]
 - <Unlocking conversation 1> 


This happens after I modified the login-flow.xml: 

from 

<transition on="success" to="sendTicketGrantingTicket" /> 

to 

<transition on="success" to="passwordPolicyCheck" /> 

I followed everything step but can't nail that one. 

I attached lppe-configuration.xml , deployerConfigContext.xml,login-webflow.xml 


Any idea? 
thanks, 
ray. 



-- 
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

Reply via email to