diff --git a/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml b/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml index 5920282ff6..fd52c7a797 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml +++ b/samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security-ns.xml @@ -10,21 +10,22 @@ xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd -http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd"> + http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd"> - + + - + diff --git a/samples/tutorial/src/main/webapp/WEB-INF/users.properties b/samples/tutorial/src/main/webapp/WEB-INF/users.properties deleted file mode 100644 index fd8b6398d7..0000000000 --- a/samples/tutorial/src/main/webapp/WEB-INF/users.properties +++ /dev/null @@ -1,4 +0,0 @@ -rod=koala,ROLE_SUPERVISOR -dianne=emu,ROLE_USER -scott=wombat,ROLE_USER -peter=opal,disabled,ROLE_USER diff --git a/samples/tutorial/src/main/webapp/acegilogin.jsp b/samples/tutorial/src/main/webapp/acegilogin.jsp deleted file mode 100644 index fade587e60..0000000000 --- a/samples/tutorial/src/main/webapp/acegilogin.jsp +++ /dev/null @@ -1,45 +0,0 @@ -<%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %> -<%@ page import="org.springframework.security.ui.AbstractProcessingFilter" %> -<%@ page import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" %> -<%@ page import="org.springframework.security.AuthenticationException" %> - - - - Login - - - -

Login

- -

Valid users: -

-

username rod, password koala (supervisor) -

username dianne, password emu (normal user) -

username scott, password wombat (normal user) -

username peter, password opal (user disabled) -

- - <%-- this form-login-page form is also used as the - form-error-page to ask for a login again. - --%> - - - Your login attempt was not successful, try again.

- Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %> -
-
- -

- - - - - - - -
User:value=''>
Password:
Don't ask for my password for two weeks
- -
- - -