From d820f64d59247a92d7e1982231644ea8501c8abd Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Fri, 2 Apr 2004 11:58:24 +0000 Subject: [PATCH] Now in the etc directory. --- .../WEB-INF/classes/resin-acegisecurity.xml | 46 -------- samples/contacts/war/WEB-INF/jboss-web.xml | 6 -- samples/contacts/war/WEB-INF/resin-web.xml | 12 --- samples/contacts/war/WEB-INF/web.xml | 100 ------------------ samples/contacts/war/login.jsp | 43 -------- 5 files changed, 207 deletions(-) delete mode 100644 samples/contacts/war/WEB-INF/classes/resin-acegisecurity.xml delete mode 100644 samples/contacts/war/WEB-INF/jboss-web.xml delete mode 100644 samples/contacts/war/WEB-INF/resin-web.xml delete mode 100644 samples/contacts/war/WEB-INF/web.xml delete mode 100644 samples/contacts/war/login.jsp diff --git a/samples/contacts/war/WEB-INF/classes/resin-acegisecurity.xml b/samples/contacts/war/WEB-INF/classes/resin-acegisecurity.xml deleted file mode 100644 index 07c06dd4ee..0000000000 --- a/samples/contacts/war/WEB-INF/classes/resin-acegisecurity.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - marissa=koala,ROLE_TELLER,ROLE_SUPERVISOR - dianne=emu,ROLE_TELLER - scott=wombat,ROLE_TELLER - peter=opal,disabled,ROLE_TELLER - - - - - - - - false - true - - - - - - - - - - - - diff --git a/samples/contacts/war/WEB-INF/jboss-web.xml b/samples/contacts/war/WEB-INF/jboss-web.xml deleted file mode 100644 index 43a7c44e2e..0000000000 --- a/samples/contacts/war/WEB-INF/jboss-web.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - java:/jaas/SpringPoweredRealm - diff --git a/samples/contacts/war/WEB-INF/resin-web.xml b/samples/contacts/war/WEB-INF/resin-web.xml deleted file mode 100644 index a6dbb76eef..0000000000 --- a/samples/contacts/war/WEB-INF/resin-web.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - net.sf.acegisecurity.adapters.resin.ResinAcegiAuthenticator - - resin-acegisecurity.xml - my_password - - - diff --git a/samples/contacts/war/WEB-INF/web.xml b/samples/contacts/war/WEB-INF/web.xml deleted file mode 100644 index 5827bd74d0..0000000000 --- a/samples/contacts/war/WEB-INF/web.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - Contacts Sample Application - - - Example of an application secured using Acegi Security System for Spring. - - - - Acegi Security System for Spring - net.sf.acegisecurity.adapters.AutoIntegrationFilter - - - - Acegi Security System for Spring - /* - - - - - contacts - org.springframework.web.servlet.DispatcherServlet - 1 - - - - - contacts - *.htm - - - - index.jsp - - - - /spring - /WEB-INF/spring.tld - - - - Secured Area Security Constraint - - Secured Area - - /secure/* - - - - ROLE_TELLER - ROLE_SUPERVISOR - - - - - - - - - FORM - Spring Powered Realm - - /login.jsp - /login.jsp?login_error=1 - - - - - - ROLE_SUPERVISOR - - - ROLE_TELLER - - - diff --git a/samples/contacts/war/login.jsp b/samples/contacts/war/login.jsp deleted file mode 100644 index 42fe26f94e..0000000000 --- a/samples/contacts/war/login.jsp +++ /dev/null @@ -1,43 +0,0 @@ -<%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %> - - - - Login - - - -

Login

- -

If you've used the standard springsecurity.xml, try these users: -

-

username marissa, password koala (granted ROLE_SUPERVISOR) -

username dianne, password emu (not a supervisor) -

username scott, password wombat (not a supervisor) -

- - <%-- 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. - - - -

- - - - - - -
User:
Password:
- - - -
- - -