I want to write a action class where flow should go if login authentication failure. For this i did mapping in strutsconfig. Then i put value="/myaction" for "authenticationFailureUrl" in applicationcontextsecurity.xml.
<bean id="authenticationProcessingFilter" class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter"> <property name="authenticationManager" ref="authenticationManager"/> <property name="authenticationFailureUrl" value="/myaction"/> <property name="defaultTargetUrl" value="/"/> <property name="filterProcessesUrl" value="/j_security_check"/> <property name="rememberMeServices" ref="rememberMeServices"/> </bean> In my action i forward it to /login.jsp?error=true. In myaction i want to access database also to update some value on the basis login username. But problem is that if authentication fails(password does not match) it does not access strutsconfig action(/myaction). So as a result i want to go in /myaction after authentication failure and also i want to access dao to access database. -- View this message in context: http://www.nabble.com/To-go-in-a-action-after-authenticationfailure-tf3993510s2369.html#a11340285 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]