aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/jetty-web.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-11-03 11:02:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-11-03 11:02:30 +1300
commit9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39 (patch)
treecd1bb509448bd690b37892566a6be8369be80a40 /src/main/webapp/WEB-INF/jetty-web.xml
downloadtrackermap-web-9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39.tar.gz
trackermap-web-9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39.tar.bz2
trackermap-web-9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39.zip
Created project
Diffstat (limited to 'src/main/webapp/WEB-INF/jetty-web.xml')
-rw-r--r--src/main/webapp/WEB-INF/jetty-web.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/jetty-web.xml b/src/main/webapp/WEB-INF/jetty-web.xml
new file mode 100644
index 00000000..f959e1b3
--- /dev/null
+++ b/src/main/webapp/WEB-INF/jetty-web.xml
@@ -0,0 +1,10 @@
+<Configure class="org.mortbay.jetty.webapp.WebAppContext">
+ <Get name="securityHandler">
+ <Set name="userRealm">
+ <New class="org.mortbay.jetty.security.HashUserRealm">
+ <Set name="name">Test Realm</Set>
+ <Set name="config"><SystemProperty name="jetty.home" default="."/>/src/test/realm.properties</Set>
+ </New>
+ </Set>
+ </Get>
+</Configure>