diff -cBr web.xml.orig web.xml
*** web.xml.orig 2011-04-14 13:34:30.008715022 -0400
--- web.xml 2011-04-28 10:46:58.236393003 -0400
***************
*** 145,151 ****
<security-constraint>
<web-resource-collection>
<web-resource-name>Hudson</web-resource-name>
! <url-pattern>/loginEntry</url-pattern>
<!--http-method>GET</http-method-->
</web-resource-collection>
<auth-constraint>
--- 145,151 ----
<security-constraint>
<web-resource-collection>
<web-resource-name>Hudson</web-resource-name>
! <url-pattern>/</url-pattern>
<!--http-method>GET</http-method-->
</web-resource-collection>
<auth-constraint>
***************
*** 154,160 ****
...
<security-role>
<role-name>app-user</role-name>
</security-role>
<security-constraint>
<login-config>
!<web-resource-collection>
<auth-method>FORM</auth-method><web-resource-name>My App</web-resource-name>
<form-login-config><url-pattern>/</url-pattern>
</web-resource-collection>
<form-login-page>/login</form-login-page><auth-constraint>
<form<role-errorname>app-page>user</loginError</form-error-page>
--- 154,160 ----
role-name>
</auth-constraint>
</security-constraint>
<login-config>
!
<auth-method>CAS</auth-method>
<form-login-config><realm-name>MyAppRealm</realm-name>
<form-login-page>/login</form-</login-page>
<form-error-page>/loginError</form-error-page>
config>
...
|