I am having a heck of a time getting this to work for this basic test case. I have the following <http> element using <http-basic> that works perfectly.

Working code:
Code:
<http pattern="/sysAdmin/**" use-expressions="true">
	<intercept-url pattern="/sysAdmin/MainMenu*" access="hasRole('ROLE_ADMIN')"/>
	<http-basic/>
	<logout/>
</http>
However, I would like to use a "form" login so I tried the following (and many other variations!), but I keep getting a 404 message because it can't find the login page - I believe from pattern matching issues.

Code:
<http pattern="/sysAdmin/**" use-expressions="true">
	<intercept-url pattern="/sysAdmin/MainMenu*" access="hasRole('ROLE_ADMIN')"/>	
	<intercept-url pattern="/sysAdmin/spring_security_login" access="permitAll"/>	
	<form-login login-page="/sysAdmin/spring_security_login"/>
	<logout/>
</http>
Browser Error:

Code:
HTTP ERROR: 404

NOT_FOUND

RequestURI=/afs/sysAdmin/spring_security_login

Powered by Jetty://
Anybody have any suggestions? My war file is named afs.war - hence the "/afs/" reference in the RequestURI. However, I didn't think it was necessary to include the base "war path" when pattern matching??