Take a look at the Spring Web Flow documentation, it has methods for transitioning on exceptions.
-Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Fri, Nov 28, 2008 at 5:10 AM, leena mital <[EMAIL PROTECTED]> wrote: > Hi! > > I need to implement Forced Password Change mechanism into CAS login flow. I > have a CustomAuthenticationHandler which detects that user's password has > expired. As a result of this, I need to redirect the user to "Change > Password Screen". > I am new to Spring WebFlow, so please excuse me, if following assumption > doesn't make any sense. > > Is it possible to trap the PasswordExpiredException thrown by > CustomAuthenticationHandler in *authenticationViaFormAction *and redirect > it to "ChangePasswordView"? > > Do I need to add a CustomAction to trap this exception as an event? > > Any sample code towards it will be very helpful. > > thanks, > -leena > > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
