It finally work ! I do this :

<action-state id="saveNewPassword">
  <action bean="changePasswordAction" method="submit" />
  <transition on="success" to="bindAndValidate" />
  <transition on="error" to="changePasswordAction" />
</action-state>

in submit action of bindAndValidate i get from request the new 
password value and all work fine (silent login with new credential).

Now i would like to forbid the new password value when it is the 
same that old one (user must change his password can't reuse the 
old). 

For simply do that i can put old password in flowScope and 
check it while save the new password (it work good).
I don't know if putting a clearly password in flowScope can be dangerous or 
not. Can anyone reply me ?
thanks alot


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

Reply via email to