Hond4 wrote:
U must test for the correct password and if the password is wrong to thow an global exceptionHallo list members!
I'm looking for best practise how to implement password change for my appliaction.
I'm using securityfilter for auth, problem is that i would like to create forward to password change page if user password == "default".
Is it possible to put some logic into ActionServlet's service() to check is user password == "default" and then forward to PasswordChange action? I know that I can crete base action (with passowrd check logic) for all action's but i think there should be more proper way to solve my problem.
Thanks for help, H0nd4
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
That exception u can use at struts-config.xml at
<!-- ================================= Global Exception Definitions -->
<global-exceptions> </global-exceptions>
to forward to a page.
The simplest is to use global-forward
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]