spring security 3.1. custom authentication-failure-url with url parameters
问题 I googled and tried lot of variants for some hours but without any success. Please help me to find a solution. Spring version: Spring 3.1 I have login page. Login page depends on URL parameter: /login?code=client1 or /login?code=client2 So client1 and client2 has different login pages. security.xml: <sec:form-login login-page="/login" default-target-url="/start" authentication-failure-url="/login"/> So if user make wrong authentication I show him /login page... But point is I have to show