Page d'erreur pour le login -> renvoi vers la page de login/création de compte complet (loginFull.jsp)

This commit is contained in:
Nicolas Michard
2008-02-04 14:05:45 +00:00
parent e9930c6791
commit af13dfaded
10 changed files with 56 additions and 7 deletions

View File

@@ -32,10 +32,15 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<bean id="authenticationProcessingFilter" class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
<property name="authenticationManager" ref="authenticationManager"/>
<property name="authenticationFailureUrl" value="/jsp/login.jsp?errorId=1"/>
<property name="authenticationFailureUrl" value="/login.htm?login_error=1" />
<property name="defaultTargetUrl" value="/"/>
<property name="filterProcessesUrl" value="/j_acegi_security_check"/>
<property name="rememberMeServices" ref="rememberMeServices"/>
<property name="exceptionMappings">
<props>
<prop key="org.acegisecurity.BadCredentialsException">/login.htm?login_error=2</prop>
</props>
</property>
</bean>
<bean id="authenticationManager" class="org.acegisecurity.providers.ProviderManager">