I'm relatively new to spring security so bare with me...
We have a gwt application, this means that all the urls in the application look like this:
Our applicationContext includes:
Re-producing our problem:
<security:intercept-url pattern="/login.jsp*" filters="none" />
<security:intercept-url pattern="/**" access="ROLE_USER" />
<security:form-login login-page="/login.jsp" always-use-default-target="false" />
<security:logout invalidate-session="true" logout-success-url="/login.jsp"/>
1. user tries to go to a secured resource, e.g.
2. user is re-directed to login.jsp
3. user logs in
4. user is redirected to localhost:8080/GwtApp/gwtapp.html
The problem is that the url anchor/fragment (i.e. the #whatever) is dropped.
Can anyone shed any light on this?