From 11570d9584c903f6860dcbb3ae5cf6b949064d3a Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 22 Jan 2008 20:42:09 +0000 Subject: [PATCH] SEC-576: Test web.xml files. --- .../src/test/resources/webxml/NoRoles.web.xml | 54 +++++++++++ .../src/test/resources/webxml/Role1-4.web.xml | 91 +++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100755 core/src/test/resources/webxml/NoRoles.web.xml create mode 100755 core/src/test/resources/webxml/Role1-4.web.xml diff --git a/core/src/test/resources/webxml/NoRoles.web.xml b/core/src/test/resources/webxml/NoRoles.web.xml new file mode 100755 index 0000000000..e6b6adc519 --- /dev/null +++ b/core/src/test/resources/webxml/NoRoles.web.xml @@ -0,0 +1,54 @@ + + + + poc-acegi-web + + contextConfigLocation + classpath:j2ee-acegi-security.xml + + + log4jConfigLocation + /WEB-INF/classes/log4j.properties + + + + Acegi Filter Chain Proxy + org.acegisecurity.util.FilterToBeanProxy + + targetClass + org.acegisecurity.util.FilterChainProxy + + + + Acegi Filter Chain Proxy + /* + + + + org.springframework.web.util.Log4jConfigListener + + + org.springframework.web.context.ContextLoaderListener + + + org.acegisecurity.ui.session.HttpSessionEventPublisher + + + + dispatch + org.springframework.web.servlet.DispatcherServlet + 1 + + + dispatch + *.form + + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + + diff --git a/core/src/test/resources/webxml/Role1-4.web.xml b/core/src/test/resources/webxml/Role1-4.web.xml new file mode 100755 index 0000000000..877c427eeb --- /dev/null +++ b/core/src/test/resources/webxml/Role1-4.web.xml @@ -0,0 +1,91 @@ + + + + poc-acegi-web + + contextConfigLocation + classpath:j2ee-acegi-security.xml + + + log4jConfigLocation + /WEB-INF/classes/log4j.properties + + + + Acegi Filter Chain Proxy + org.acegisecurity.util.FilterToBeanProxy + + targetClass + org.acegisecurity.util.FilterChainProxy + + + + Acegi Filter Chain Proxy + /* + + + + org.springframework.web.util.Log4jConfigListener + + + org.springframework.web.context.ContextLoaderListener + + + org.acegisecurity.ui.session.HttpSessionEventPublisher + + + + dispatch + org.springframework.web.servlet.DispatcherServlet + 1 + + + dispatch + *.form + + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + + + jms/testQueue + javax.jms.Queue + Container + Shareable + + + jms/testQCF + javax.jms.QueueConnectionFactory + Container + Shareable + + + + Default + /* + + + * + + + + + Role1 + + + + Role2 + + + + Role3 + + + + Role4 + +