I tried it but It does not work. It seems that without authentication we can not go into any action of strutsconfig.
mraible wrote: > > You should probably go to /myaction.html - that should work. > > Matt > > On 6/28/07, ujjala <[EMAIL PROTECTED]> wrote: >> >> 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] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/To-go-in-a-action-after-authenticationfailure-tf3993510s2369.html#a11341383 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]