Hi there
I'll have a look. I was wondering if you could help with soemthing. I have implemented form based authentication using the example that is provided in the Acegi documentation. I have used:
Code:
<bean id="authenticationProcessingFilter" class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
<property name="authenticationManager"><ref bean="authenticationManager"/></property>
<property name="authenticationFailureUrl"><value>/login.jsp?login_error=1</value></property>
<property name="defaultTargetUrl"><value>/</value></property>
<property name="filterProcessesUrl"><value>/j_acegi_security_check</value></property>
</bean>
My question is that when the user has logged in is there a way to specify where to take the user? Do i need to specify it in the defaultTargetUrl? or is that for something else?
My form action points to j_acegi_security_check. I presume that is correct. I couldn't find a section that said when login successful take the user to the desired location.
Thanks again!