View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/trunk/site/src/main/webapp/WEB-INF/jetty-env.xml
Revision: 37852
Committed: Thu Jan 10 16:42:45 2013 UTC (9 years, 8 months ago) by mdenburger
Content type: text/xml
File size: 1384 byte(s)
Log Message:
CMS7-6812: added license headers

File Contents

# Content
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3 Copyright 2010-2013 Hippo B.V. (http://www.onehippo.com)
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
18
19 <Configure class="org.mortbay.jetty.webapp.WebAppContext">
20
21 <Get name="securityHandler">
22 <Set name="userRealm">
23 <New class="org.mortbay.jetty.plus.jaas.JAASUserRealm">
24 <Set name="name">HST Site Realm</Set>
25 <Set name="LoginModuleName">HSTSITE</Set>
26 <Set name="CallbackHandlerClass">
27 org.mortbay.jetty.plus.jaas.callback.DefaultCallbackHandler
28 </Set>
29 <Set name="roleClassNames">
30 <Array type="String">
31 <Item>org.hippoecm.hst.security.TransientRole</Item>
32 </Array>
33 </Set>
34 </New>
35 </Set>
36 </Get>
37
38 </Configure>