From 39636be7b018b9121696ce7bdc462ab2c3c8185d Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 11 Jan 2013 17:11:28 +0100 Subject: o Creating bin/web for running the web application. --- src/main/webapp/WEB-INF/shiro.ini | 18 ------ src/main/webapp/WEB-INF/tags/common/footer.tagx | 9 --- src/main/webapp/WEB-INF/tags/common/head.tagx | 42 -------------- src/main/webapp/WEB-INF/tags/common/headjs.tagx | 10 ---- src/main/webapp/WEB-INF/urlrewrite.xml | 38 ------------- src/main/webapp/WEB-INF/web.xml | 76 ------------------------- 6 files changed, 193 deletions(-) delete mode 100644 src/main/webapp/WEB-INF/shiro.ini delete mode 100644 src/main/webapp/WEB-INF/tags/common/footer.tagx delete mode 100755 src/main/webapp/WEB-INF/tags/common/head.tagx delete mode 100644 src/main/webapp/WEB-INF/tags/common/headjs.tagx delete mode 100755 src/main/webapp/WEB-INF/urlrewrite.xml delete mode 100644 src/main/webapp/WEB-INF/web.xml (limited to 'src/main/webapp/WEB-INF') diff --git a/src/main/webapp/WEB-INF/shiro.ini b/src/main/webapp/WEB-INF/shiro.ini deleted file mode 100644 index 21015af..0000000 --- a/src/main/webapp/WEB-INF/shiro.ini +++ /dev/null @@ -1,18 +0,0 @@ -[main] - -authc.loginUrl=/login.jspx -roles.unauthorizedUrl = /access-denied.jsp - -sha256Matcher = org.apache.shiro.authc.credential.Sha256CredentialsMatcher - -myCredentialsMatcher = org.apache.shiro.authc.credential.AllowAllCredentialsMatcher - -myRealm = io.trygvis.esper.testing.web.MissingShiroJdbcRealm -myRealm.authenticationQuery = select 'wat' from person where mail = ? -myRealm.credentialsMatcher = $myCredentialsMatcher - -[urls] - -/external/** = anon - -/login.jspx = authc diff --git a/src/main/webapp/WEB-INF/tags/common/footer.tagx b/src/main/webapp/WEB-INF/tags/common/footer.tagx deleted file mode 100644 index 7f686ee..0000000 --- a/src/main/webapp/WEB-INF/tags/common/footer.tagx +++ /dev/null @@ -1,9 +0,0 @@ - -
-
- -

Footer, yo!

- -
-
-
diff --git a/src/main/webapp/WEB-INF/tags/common/head.tagx b/src/main/webapp/WEB-INF/tags/common/head.tagx deleted file mode 100755 index f651c2b..0000000 --- a/src/main/webapp/WEB-INF/tags/common/head.tagx +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - <c:if test="${not empty title }">${title } - </c:if>Yeah - - - - - - - - - - - - - - - - - diff --git a/src/main/webapp/WEB-INF/tags/common/headjs.tagx b/src/main/webapp/WEB-INF/tags/common/headjs.tagx deleted file mode 100644 index 4e39e63..0000000 --- a/src/main/webapp/WEB-INF/tags/common/headjs.tagx +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/src/main/webapp/WEB-INF/urlrewrite.xml b/src/main/webapp/WEB-INF/urlrewrite.xml deleted file mode 100755 index cc02ca8..0000000 --- a/src/main/webapp/WEB-INF/urlrewrite.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - / - /index.jspx - - - - - - ^/build/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$ - $1 - /build/build.jspx - - - diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index ed33a8f..0000000 --- a/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - org.apache.shiro.web.env.EnvironmentLoaderListener - - - - ShiroFilter - org.apache.shiro.web.servlet.ShiroFilter - - - - Url Rewrite Filter - org.tuckey.web.filters.urlrewrite.UrlRewriteFilter - - - - confReloadCheckInterval - 60 - - - - - logLevel - slf4j - - - - - Jersey - com.sun.jersey.spi.container.servlet.ServletContainer - - javax.ws.rs.Application - io.trygvis.esper.testing.web.JerseyApplication - - - jersey.config.servlet.filter.staticContentRegex - /(image|css|external)/.* - - - com.sun.jersey.config.feature.FilterForwardOn404 - true - - - com.sun.jersey.api.json.POJOMappingFeature - true - - - - - ShiroFilter - /* - - - - Url Rewrite Filter - /* - - - - Jersey - /* - - - - index.jspx - - -- cgit v1.2.3