This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

I assume you mean you want to forward to the login url as apposed to perform a redirect? Checkout LoginUrlAuthenticationEntryPoint and the useForward attribute. You can then specify the AuthenticationEntryPoint using http@entry-point-ref.