Bonjour,

je migre un projet de JSF1.2 vers javaEE7. Et j'ai un soucis avec facelets. Alors qu'avec jsf 1.2 je n'avais aucun soucis, la servlet facelet faisait bien sont boulot et parsait tout ce qui était en /faces/*.xhtml (mapping servlet sur /faces/* et VIEW_MAPPING sur *.xhtml), depuis que je fais tourner ça sur widlfly 8 avec javaEE7, les xhtml ne sont plus interprété. La servlet "fonctionne", en tout cas elle réagit. Mais elle se content de balancer le xhtml d'origine sans la moindre interprétation

Voilà un extrait du web.xml:

Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<context-param>
		<param-name>facelets.SKIP_COMMENTS</param-name>
		<param-value>true</param-value>
	</context-param>
	<context-param>
		<param-name>facelets.LIBRARIES</param-name>
		<param-value>
	 			/WEB-INF/hr-components.taglib.xml;
			/WEB-INF/tomahawk.taglib.xml;
			/WEB-INF/sandbox.taglib.xml;
		</param-value>
	</context-param><context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>server</param-value>
	</context-param>
	<context-param>
		<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
		<param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value>
	</context-param>
	<context-param>
		<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
		<param-value>true</param-value>
	</context-param>
 
 
	<servlet>
		<servlet-name>faces</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>4</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>faces</servlet-name>
		<url-pattern>/faces/*</url-pattern>
	</servlet-mapping>

Voici le html que je teste:

Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:s="http://myfaces.apache.org/sandbox"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
<ui:composition template="hr-layout.xhtml">
	<ui:param name="title" value="Edit Employee" />
	<ui:define name="leftBar">
		<ui:include src="hr-actions.xhtml" />
	</ui:define>
	<ui:define name="content">
	#{facesContext.externalContext.remoteUser}
		<h1>Human ressources database</h1>
		Choose action on the left side.
		(Documentation will come here later)
	</ui:define>
</ui:composition>
</html>

Et le résultat dans le browser:
Nom : jsf.png
Affichages : 129
Taille : 46,3 Ko

Je commence à sérieusement m'arracher les cheveux pour comprendre ce qui se passe mal


web.xml complet:

Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd">
 <description>Intranet</description>
 <display-name>Human Resource Management System</display-name>
 
 <!--  JSF config Use Documents Saved as *.xhtml (for facelets) -->
<!--         <context-param>
                 <param-name>com.sun.faces.expressionFactory</param-name>
                 <param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
        </context-param> -->
 
<!-- 	<context-param> -->
<!-- 		<param-name>javax.faces.DEFAULT_SUFFIX</param-name> -->
<!-- 		<param-value>.jsp</param-value> -->
<!-- 	</context-param> -->
<!-- 	<context-param> -->
<!-- 		<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name> -->
<!-- 		<param-value>*.xhtml</param-value> -->
<!-- 	</context-param> -->
	<context-param>
		<param-name>facelets.SKIP_COMMENTS</param-name>
		<param-value>true</param-value>
	</context-param>
	<context-param>
		<param-name>facelets.LIBRARIES</param-name>
		<param-value>
	 			/WEB-INF/hr-components.taglib.xml;
			/WEB-INF/tomahawk.taglib.xml;
			/WEB-INF/sandbox.taglib.xml;
		</param-value>
	</context-param>
	<context-param>
		<param-name>com.xxx.QueryToBeanPhaseListener.editedList</param-name>
		<param-value>#{selectEntriesEditor.key}</param-value>
	</context-param>
 <!--
		Determines wether state is saved on the server or on the client. The
		tradeoff here is server memory versus network bandwidth.
	-->
	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>server</param-value>
	</context-param>
	<context-param>
		<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
		<param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value>
	</context-param>
	<context-param>
		<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
		<param-value>true</param-value>
	</context-param>
	<context-param>
		<param-name>org.apache.commons.chain.CONFIG_WEB_RESOURCE</param-name>
		<param-value>/WEB-INF/chain-config.xml</param-value>
	</context-param>
<!--
 	<context-param>
		<param-name>javax.faces.CONFIG_FILES</param-name>
		<param-value>
		    /WEB-INF/jsf-quartz.xml,
		    /WEB-INF/jsf-hr.xml,
		    /WEB-INF/jsf-admin.xml,
		    /WEB-INF/shark-jsf-beans.xml,
		    /WEB-INF/jsf-navigation.xml,
		    /WEB-INF/jsf-conf_meetingLog.xml,
		    /WEB-INF/jsf-intranet.xml
  		</param-value>
	</context-param>
-->
 
	<context-param>
		<param-name>org.apache.myfaces.redirectTracker.POLICY</param-name>
		<param-value>org.apache.myfaces.custom.redirectTracker.policy.NoopRedirectTrackPolicy</param-value>
	</context-param>
 <!--  end JSF config -->
 
<!-- 	<context-param> -->
<!-- 		<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> -->
<!-- 		 <param-value>com.xxx.intranet.facelets.SeamlessViewHandler</param-value> --> 
<!-- 		<param-value>com.sun.facelets.FaceletViewHandler</param-value> -->
<!-- 	</context-param> -->
	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>classpath:/webapplication.xml</param-value>
	</context-param>
 
	<filter>
		<display-name>Common-chains Filter / main request chain</display-name>
		<filter-name>chainFilter-main</filter-name>
		<filter-class>com.xxx.intranet.servlet.ChainFilter</filter-class>
		<init-param>
			<description>Catalog to get chains from</description>
			<param-name>catalog</param-name>
			<param-value>requestFilter</param-value>
		</init-param>
		<init-param>
			<description>The filter chain to get from catalog</description>
			<param-name>chain</param-name>
			<param-value>main</param-value>
		</init-param>
	</filter>
	<filter>
		<display-name>Common-chains Filter / dynamic content chain</display-name>
		<filter-name>chainFilter-dynamicContent</filter-name>
		<filter-class>com.xxx.intranet.servlet.ChainFilter</filter-class>
		<init-param>
			<description>Catalog to get chains from</description>
			<param-name>catalog</param-name>
			<param-value>requestFilter</param-value>
		</init-param>
		<init-param>
			<description>The filter chain to get from catalog</description>
			<param-name>chain</param-name>
			<param-value>dynamicContent</param-value>
		</init-param>
	</filter>
 
 
 <!-- JSF config
 Set up the tomahawk extensions filter -->
	<filter>
		<filter-name>MyFacesExtensionsFilter</filter-name>
		<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
		<init-param>
			<description>Set the size limit for uploaded files. Format: 10 - 10
					bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description>
			<param-name>maxFileSize</param-name>
			<param-value>50m</param-value>
		</init-param>
	</filter>
<!-- 	<filter> -->
<!-- 		<display-name>Ajax4jsf Filter</display-name> -->
<!-- 		<filter-name>ajax4jsf</filter-name> -->
<!-- 		<filter-class>org.ajax4jsf.Filter</filter-class> -->
<!-- 	</filter> -->
	<filter-mapping>
		<filter-name>chainFilter-main</filter-name>
		<url-pattern>*.jsp</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>chainFilter-main</filter-name>
		<servlet-name>faces</servlet-name>
	</filter-mapping>
	<filter-mapping>
		<filter-name>chainFilter-dynamicContent</filter-name>
		<servlet-name>faces</servlet-name>
	</filter-mapping>
	<filter-mapping>
		<filter-name>chainFilter-dynamicContent</filter-name>
		<url-pattern>*.jsp</url-pattern>
	</filter-mapping>
 <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages  -->
	<filter-mapping>
		<filter-name>MyFacesExtensionsFilter</filter-name>
		<!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet 
			entry -->
		<servlet-name>faces</servlet-name>
	</filter-mapping>
<!-- 	<filter-mapping> -->
<!-- 		<filter-name>ajax4jsf</filter-name> -->
<!-- 		<servlet-name>faces</servlet-name> -->
<!-- 		<dispatcher>REQUEST</dispatcher> -->
<!-- 		<dispatcher>FORWARD</dispatcher> -->
<!-- 		<dispatcher>INCLUDE</dispatcher> -->
<!-- 	</filter-mapping> -->
 <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.)  -->
	<filter-mapping>
		<filter-name>MyFacesExtensionsFilter</filter-name>
		<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
	</filter-mapping>
 
	<!--  cas configuration:  -->
 <!-- 
 <filter>
	<filter-name>CAS Single Sign Out Filter</filter-name>
	<filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>
</filter>
 
<filter>
	<filter-name>CAS Authentication Filter</filter-name>
	<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
<init-param>
	<param-name>casServerLoginUrl</param-name>
	<param-value>https://localhost/cas/login</param-value>
</init-param>
<init-param>
	<param-name>serverName</param-name>
	<param-value>https://localhost:8443</param-value>
</init-param>
<init-param>
	<param-name>renew</param-name>
	<param-value>false</param-value>
</init-param>
</filter>
 
<filter>
	<filter-name>CAS Validation Filter</filter-name>
	<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
	<init-param>
		<param-name>casServerUrlPrefix</param-name>
		<param-value>https://localhost/cas/</param-value>
	</init-param>
	<init-param>
		<param-name>serverName</param-name>
		<param-value>https://localhost:8443</param-value>
	</init-param>
	<init-param>
		<param-name>redirectAfterValidation</param-name>
		<param-value>true</param-value>
	</init-param>
</filter>
 
<filter>
	<filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
	<filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class>
</filter>
 
<filter>
	<filter-name>CAS Assertion Thread Local Filter</filter-name>
	<filter-class>org.jasig.cas.client.util.AssertionThreadLocalFilter</filter-class>
</filter>
 
<filter-mapping>
	<filter-name>CAS Single Sign Out Filter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
 
<filter-mapping>
	<filter-name>CAS Authentication Filter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
 
<filter-mapping>
	<filter-name>CAS Validation Filter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
 
<filter-mapping>
	<filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
 
<filter-mapping>
	<filter-name>CAS Assertion Thread Local Filter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>
 
<listener>
	<listener-class>org.jasig.cas.client.session.SingleSignOutHttpSessionListener</listener-class>
</listener>  -->
<!-- end cas configuration -->
	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
	<listener>
		<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
	</listener>
<!-- 	<listener> -->
<!-- 		<listener-class>workaround.DSListener</listener-class> -->
<!-- 	</listener> -->
	<!-- Set up the Commons Chain listener -->
	<listener>
		<listener-class>org.apache.commons.chain.web.ChainListener</listener-class>
	</listener>
<!-- Configuration de CXF -->
<!-- 	<servlet> -->
<!-- 		<servlet-name>CXFServlet</servlet-name> -->
<!-- 		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> -->
<!-- 		<load-on-startup>1</load-on-startup> -->
<!-- 	</servlet> -->
 
 
 <!-- webdav Definition and configuration of Slide's WebDAV servlet. 
 
	<servlet>
	  <display-name>Slide DAV Server</display-name>
	  <servlet-name>webdav</servlet-name>
	  <servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
	  <init-param>
				<param-name>domain</param-name>
				<param-value>/WEB-INF/Domain.xml</param-value>
				<description>
				Path to the domain configuration file, relative to the path of the
				web application.   The default is '/Domain.xml'.
				</description>
		</init-param>
		<init-param>
		   <description>Name of the Slide namespace that should be accessed by
						this servlet. If this parameter is provided, make sure
						the corresponding namespace is defined in the domain
						configuration file. Otherwise, the default namespace
						will be used, if one exists.</description>
		   <param-name>namespace</param-name>
		   <param-value>dissco</param-value>
	   </init-param>
	   <init-param>
		   <description>Scope of the Slide namespace that should be exposed by
						this servlet. For example, if you want to expose only
						the /files collection via WebDAV, set this parameter to
						'/files'. In that case, any URLs of the form
						'/context-path/servlet-path/*' will be mapped to
						'/files/*' in the Slide namespace. The default value is
						an empty string.</description>
		   <param-name>scope</param-name>
		   <param-value/>
	   </init-param>
	   <init-param>
		   <description>This init-parameter determines the depth limit for
						PROPFIND and other methods, to avoid performance hits on
						the server for requests with infinite depth. The default
						value is '3'.</description>
		   <param-name>depth-limit</param-name>
		   <param-value>3</param-value>
	   </init-param>
	   <init-param>
		   <description>The MIME type that should be used for resources of
						unknown type. For example, if a WebDAV client uploads a
						file (via PUT) without specifying the Content-Type
						header, the MIME type defined here will be used. The
						default value is 'application/octet-stream'.</description>
		   <param-name>default-mime-type</param-name>
		   <param-value>application/octet-stream</param-value>
	   </init-param>
	   <init-param>
		   <description>By default, the WebDAV servlet is mapped as default
						servlet of the web application context (the url-pattern
						in servlet-mapping is '/'). If you want to change that
						mapping so the servlet is no longer the default servlet,
						you must change this initialization parameter to
						indicate the situation to the servlet, by setting it to
						'false'. The default value is 'true'.</description>
		   <param-name>default-servlet</param-name>
		   <param-value>false</param-value>
	  	</init-param>
	  	<init-param>
		   <description>Use the 'directory-browsing' init-parameter to turn off
						generation of HTML index pages that enable browsing of
						collections (by setting this parameter to 'false'), or
						to specify a web-app relative path to a template
						resource (a JSP page, for example) which should handle
						generation of the HTML index page. In the latter case,
						you can use a JSP page at WEB-INF/index.jsp by
						specifying '/WEB-INF/index.jsp' as value of this
						parameter. The default value is 'true'.</description>
		   <param-name>directory-browsing</param-name>
		   <param-value>false</param-value>
	   </init-param>
	   <init-param>
		   <description>Use this parameter to hide ACL information in generated
						HTML index pages. (see parameter "directory-browsing")
						The default value is 'true'.</description>
		   <param-name>directory-browsing-hide-acl</param-name>
		   <param-value>false</param-value>
	   </init-param>
	   <init-param>
		   <description>Use this parameter to hide locking information in
						generated HTML index pages. (see parameter
						"directory-browsing") The default value is 'true'.</description>
		   <param-name>directory-browsing-hide-locks</param-name>
		   <param-value>false</param-value>
	   </init-param>
	   <init-param>
		   <description>If set to false, the PropFindMethod will first create a
						(large) JDOM document in memory and then write it to the
						response stream. If set true, the PropFindMethod will
						write results to the stream as soon as they are
						available. This will reduce memory consumption in the
						case of large responses (PROPFIND on many resources).
						The output of these two variants differ slightly, since
						in optimized mode the D:DAV namespace is declared in the
						multistatus element AND in all response elements. Since
						this is still a valid XML document it shouldn't be a
						problem, but in case you encounter any diffculties this
						switch provides a way to get around it.</description>
		   <param-name>optimizePropfindOutput</param-name>
		   <param-value>true</param-value>
	   </init-param>
	   <init-param>
		   <param-name>debug</param-name>
		   <param-value>1</param-value>
	   </init-param>
	   <init-param>
		   <description>According to RFC3253 (DeltaV), RFCxxxx (ACL) and RFCxxxx
						(Binding), a DAV:allprop PROPFIND should not return any
						of the properties defined in any of that documents. For
						testing purposes, the specified behaviour can be
						disabled by setting this parameter "true".</description>
		   <param-name>extendedAllprop</param-name>
		   <param-value>false</param-value>
	   </init-param>
	   <init-param>
		   <description>As proposed on February 08, 2003 by Lisa Dusseault in
						<a href="mailto:w3c-dist-auth-request@w3.org">w3c-dist-auth-request@w3.org</a>, the DAV:lockdiscovery
						property should include an element DAV:principal-URL
						with the semantics of the WebDAV/ACL specification. This
						feature is switched-off by default as it lead to
						compatibility problems with MacOS X client.</description>
		   <param-name>lockdiscoveryIncludesPrincipalURL</param-name>
		   <param-value>false</param-value>
	   </init-param>
	   <init-param>
		   <description>This parameter controls whether modifying properties via
						PROPPATCH causes the last modification date of the
						resource to be updated or not.</description>
		   <param-name>updateLastModified</param-name>
		   <param-value>true</param-value>
	   </init-param>
	   <load-on-startup>3</load-on-startup>
	  <security-role-ref>
	   <role-name>admin</role-name>
	   <role-link>admin</role-link>
	  </security-role-ref>
	  <security-role-ref>
	   <role-name>root</role-name>
	   <role-link>root</role-link>
	  </security-role-ref>
	  <security-role-ref>
	   <role-name>rmiintra</role-name>
	   <role-link>user</role-link>
	  </security-role-ref>
	  <security-role-ref>
	   <role-name>script</role-name>
	   <role-link>script</role-link>
	  </security-role-ref>
	  <security-role-ref>
	   <role-name>meslideadmin</role-name>
	   <role-link>meslideadmin</role-link>
	  </security-role-ref>
	</servlet>
..... end of Slide webdav config -->
 
<!--  JSF -->
	<servlet>
		<servlet-name>faces</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>4</load-on-startup>
	</servlet>
 
<!-- ################# Initialisation Servlet ################# -->
	<servlet>
		<display-name>System Init Servlet</display-name>
		<servlet-name>initializer</servlet-name>
		<servlet-class>com.xxx.intranet.servlet.SetupServlet</servlet-class>
		<load-on-startup>2</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>CXFServlet</servlet-name>
		<url-pattern>/rhService/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>faces</servlet-name>
		<url-pattern>/faces/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>initializer</servlet-name>
		<url-pattern>/InitStatus</url-pattern>
	</servlet-mapping>
 
 
 
 <!-- Establish the default MIME type mappings -->
 <mime-mapping>
  <extension>jsp</extension>
  <mime-type>text/jsp</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>txt</extension>
  <mime-type>text/plain</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>html</extension>
  <mime-type>text/html</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>htm</extension>
  <mime-type>text/html</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>gif</extension>
  <mime-type>image/gif</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>jpg</extension>
  <mime-type>image/jpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>jpe</extension>
  <mime-type>image/jpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>jpeg</extension>
  <mime-type>image/jpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>java</extension>
  <mime-type>text/plain</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>body</extension>
  <mime-type>text/html</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>rtx</extension>
  <mime-type>text/richtext</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tsv</extension>
  <mime-type>text/tab-separated-values</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>etx</extension>
  <mime-type>text/x-setext</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ps</extension>
  <mime-type>application/x-postscript</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>class</extension>
  <mime-type>application/java</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>csh</extension>
  <mime-type>application/x-csh</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sh</extension>
  <mime-type>application/x-sh</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tcl</extension>
  <mime-type>application/x-tcl</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tex</extension>
  <mime-type>application/x-tex</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>texinfo</extension>
  <mime-type>application/x-texinfo</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>texi</extension>
  <mime-type>application/x-texinfo</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>t</extension>
  <mime-type>application/x-troff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tr</extension>
  <mime-type>application/x-troff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>roff</extension>
  <mime-type>application/x-troff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>man</extension>
  <mime-type>application/x-troff-man</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>me</extension>
  <mime-type>application/x-troff-me</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ms</extension>
  <mime-type>application/x-wais-source</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>src</extension>
  <mime-type>application/x-wais-source</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>zip</extension>
  <mime-type>application/zip</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>bcpio</extension>
  <mime-type>application/x-bcpio</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>cpio</extension>
  <mime-type>application/x-cpio</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>gtar</extension>
  <mime-type>application/x-gtar</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>shar</extension>
  <mime-type>application/x-shar</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sv4cpio</extension>
  <mime-type>application/x-sv4cpio</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sv4crc</extension>
  <mime-type>application/x-sv4crc</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tar</extension>
  <mime-type>application/x-tar</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ustar</extension>
  <mime-type>application/x-ustar</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>dvi</extension>
  <mime-type>application/x-dvi</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>hdf</extension>
  <mime-type>application/x-hdf</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>latex</extension>
  <mime-type>application/x-latex</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>bin</extension>
  <mime-type>application/octet-stream</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>oda</extension>
  <mime-type>application/oda</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>pdf</extension>
  <mime-type>application/pdf</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>eps</extension>
  <mime-type>application/postscript</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ai</extension>
  <mime-type>application/postscript</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>rtf</extension>
  <mime-type>application/rtf</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>nc</extension>
  <mime-type>application/x-netcdf</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>cdf</extension>
  <mime-type>application/x-netcdf</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>cer</extension>
  <mime-type>application/x-x509-ca-cert</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>exe</extension>
  <mime-type>application/octet-stream</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>gz</extension>
  <mime-type>application/x-gzip</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>Z</extension>
  <mime-type>application/x-compress</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>z</extension>
  <mime-type>application/x-compress</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>hqx</extension>
  <mime-type>application/mac-binhex40</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mif</extension>
  <mime-type>application/x-mif</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ief</extension>
  <mime-type>image/ief</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tiff</extension>
  <mime-type>image/tiff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>tif</extension>
  <mime-type>image/tiff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ras</extension>
  <mime-type>image/x-cmu-raster</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>pnm</extension>
  <mime-type>image/x-portable-anymap</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>pbm</extension>
  <mime-type>image/x-portable-bitmap</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>pgm</extension>
  <mime-type>image/x-portable-graymap</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ppm</extension>
  <mime-type>image/x-portable-pixmap</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>rgb</extension>
  <mime-type>image/x-rgb</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>xbm</extension>
  <mime-type>image/x-xbitmap</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>xpm</extension>
  <mime-type>image/x-xpixmap</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>xwd</extension>
  <mime-type>image/x-xwindowdump</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>au</extension>
  <mime-type>audio/basic</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>snd</extension>
  <mime-type>audio/basic</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>aif</extension>
  <mime-type>audio/x-aiff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>aiff</extension>
  <mime-type>audio/x-aiff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>aifc</extension>
  <mime-type>audio/x-aiff</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>wav</extension>
  <mime-type>audio/x-wav</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mpeg</extension>
  <mime-type>video/mpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mpg</extension>
  <mime-type>video/mpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mpe</extension>
  <mime-type>video/mpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>qt</extension>
  <mime-type>video/quicktime</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mov</extension>
  <mime-type>video/quicktime</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>avi</extension>
  <mime-type>video/x-msvideo</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>movie</extension>
  <mime-type>video/x-sgi-movie</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>avx</extension>
  <mime-type>video/x-rad-screenplay</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>wrl</extension>
  <mime-type>x-world/x-vrml</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mpv2</extension>
  <mime-type>video/mpeg2</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sgml</extension>
  <mime-type>text/sgml</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sgm</extension>
  <mime-type>text/sgml</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>css</extension>
  <mime-type>text/css</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>png</extension>
  <mime-type>image/png</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>bmp</extension>
  <mime-type>image/bmp</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mpga</extension>
  <mime-type>audio/mpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mp2</extension>
  <mime-type>audio/mpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mp3</extension>
  <mime-type>audio/mpeg</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>js</extension>
  <mime-type>application/x-javascript</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>xml</extension>
  <mime-type>text/xml</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>xls</extension>
  <mime-type>application/vnd.ms-excel</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ppt</extension>
  <mime-type>application/vnd.ms-powerpoint</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>doc</extension>
  <mime-type>application/msword</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sxw</extension>
  <mime-type>application/vnd.sun.xml.writer</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>mail</extension>
  <mime-type>message/rfc-822</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>msg</extension>
  <mime-type>message/rfc-822</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>stw</extension>
  <mime-type>application/vnd.sun.xml.writer.template</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sxg</extension>
  <mime-type>application/vnd.sun.xml.writer.global</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sxc</extension>
  <mime-type>application/vnd.sun.xml.calc</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>stc</extension>
  <mime-type>application/vnd.sun.xml.calc.template</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sxi</extension>
  <mime-type>application/vnd.sun.xml.impress</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sti</extension>
  <mime-type>application/vnd.sun.xml.impress.template</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sxd</extension>
  <mime-type>application/vnd.sun.xml.draw</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>std</extension>
  <mime-type>application/vnd.sun.xml.draw.template</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>sxm</extension>
  <mime-type>application/vnd.sun.xml.math</mime-type>
 </mime-mapping>
 <!-- OASIS test file format extensions -->
 <mime-mapping>
  <extension>odt</extension>
  <mime-type>application/vnd.oasis.opendocument.text</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>ods</extension>
  <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odp</extension>
  <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odg</extension>
  <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odc</extension>
  <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odf</extension>
  <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odb</extension>
  <mime-type>application/vnd.oasis.opendocument.database</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odi</extension>
  <mime-type>application/vnd.oasis.opendocument.image</mime-type>
 </mime-mapping>
 <mime-mapping>
  <extension>odm</extension>
  <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
 </mime-mapping>
 
 
 <!-- The Usual Welcome File List -->
	<welcome-file-list>
		<welcome-file>faces/hr/index.xhtml</welcome-file>
	</welcome-file-list>
	<error-page>
		<exception-type>java.lang.Error</exception-type>
		<location>/jsp/error.jsp</location>
	</error-page>
	<error-page>
		<exception-type>java.lang.Exception</exception-type>
		<location>/jsp/error.jsp</location>
	</error-page>
 
 
<!-- Struts Tag Library Descriptors -->
	<jsp-config>
		<taglib>
			<taglib-uri>/tags/struts-bean</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-bean.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/tags/struts-html</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-html.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/tags/slide-struts</taglib-uri>
			<taglib-location>/WEB-INF/conf/slide-struts.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/tags/struts-logic</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-logic.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/tags/struts-nested</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-nested.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>/tags/struts-tiles</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-tiles.tld</taglib-location>
		</taglib>
		<!-- Slide Tag Library Descriptor -->
		<taglib>
			<taglib-uri>slide-struts</taglib-uri>
			<taglib-location>/WEB-INF/conf/slide-struts.tld</taglib-location>
		</taglib>
		<!-- Struts Tag Library Descriptors -->
		<taglib>
			<taglib-uri>struts-bean</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-bean.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>struts-html</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-html.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>struts-logic</taglib-uri>
			<taglib-location>/WEB-INF/conf/struts-logic.tld</taglib-location>
		</taglib>
		<!-- ####################End from Struts################### -->
		<taglib>
			<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
			<taglib-location>/WEB-INF/conf/c.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
			<taglib-location>/WEB-INF/conf/fmt.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
			<taglib-location>/WEB-INF/conf/sql.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
			<taglib-location>/WEB-INF/conf/x.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://java.sun.com/jsp/jstl/functions</taglib-uri>
			<taglib-location>/WEB-INF/conf/fn.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://jakarta.apache.org/taglibs/xtags-1.0</taglib-uri>
			<taglib-location>/WEB-INF/conf/taglibs-xtags.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://jakarta.apache.org/taglibs/string-1.1</taglib-uri>
			<taglib-location>/WEB-INF/conf/taglibs-string.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://devsphere.com/xml/taglib/process</taglib-uri>
			<taglib-location>/WEB-INF/conf/ProcessXML.tld</taglib-location>
		</taglib>
		<taglib>
			<taglib-uri>http://devsphere.com/xml/taglib/output</taglib-uri>
			<taglib-location>/WEB-INF/conf/OutputXML.tld</taglib-location>
		</taglib>
	</jsp-config>
 
<!-- Authetication for the WebDAV servlet
	<security-constraint>
	  <web-resource-collection>
	   <web-resource-name>DAV resource</web-resource-name>
	   <url-pattern>/DAV/users/*</url-pattern>
	   <url-pattern>/DAV/roles/*</url-pattern>
	   <url-pattern>/DAV/files_secur/*</url-pattern>
	   <url-pattern>/DAV/actions/*</url-pattern>
	   <url-pattern>/DAV/history/*</url-pattern>
	   <url-pattern>/DAV/workspace/*</url-pattern>
	   <url-pattern>/DAV/workingresource/*</url-pattern>
	   <url-pattern>/DAV</url-pattern>
	   <url-pattern>/DAV/</url-pattern>
	   <url-pattern>/DAV/WORKFLOW/descriptor/*</url-pattern>
 
	   <http-method>COPY</http-method>
					<http-method>DELETE</http-method>
					<http-method>GET</http-method>
					<http-method>HEAD</http-method>
					<http-method>LOCK</http-method>
					<http-method>MKCOL</http-method>
					<http-method>MOVE</http-method>
					<http-method>OPTIONS</http-method>
					<http-method>POST</http-method>
					<http-method>PROPFIND</http-method>
					<http-method>PROPPATCH</http-method>
					<http-method>PUT</http-method>
					<http-method>UNLOCK</http-method>
					<http-method>VERSION-CONTROL</http-method>
					<http-method>REPORT</http-method>
					<http-method>CHECKIN</http-method>
					<http-method>CHECKOUT</http-method>
					<http-method>UNCHECKOUT</http-method>
					<http-method>MKWORKSPACE</http-method>
					<http-method>UPDATE</http-method>
					<http-method>LABEL</http-method>
					<http-method>MERGE</http-method>
					<http-method>BASELINE-CONTROL</http-method>
					<http-method>MKACTIVITY</http-method>
					<http-method>ACL</http-method>
					<http-method>SEARCH</http-method>
					<http-method>BIND</http-method>
					<http-method>UNBIND</http-method>
					<http-method>REBIND</http-method>
					<http-method>SUBSCRIBE</http-method>
					<http-method>UNSUBSCRIBE</http-method>
					<http-method>POLL</http-method>
					<http-method>NOTIFY</http-method>
	  </web-resource-collection>
	  <auth-constraint>
	   <role-name>*</role-name>
	  </auth-constraint>
	</security-constraint>
 
	<security-constraint>
	  <web-resource-collection>
	   <web-resource-name>DAV resource upload</web-resource-name>
	   <url-pattern>/DAV/*</url-pattern>
 
	   <http-method>COPY</http-method>
	   <http-method>DELETE</http-method>
	   <http-method>LOCK</http-method>
	   <http-method>MKCOL</http-method>
	   <http-method>MOVE</http-method>
	   <http-method>PROPFIND</http-method>
	   <http-method>PROPPATCH</http-method>
	   <http-method>PUT</http-method>
	   <http-method>UNLOCK</http-method>
	   <http-method>VERSION-CONTROL</http-method>
	   <http-method>REPORT</http-method>
	   <http-method>CHECKIN</http-method>
	   <http-method>CHECKOUT</http-method>
	   <http-method>UNCHECKOUT</http-method>
	   <http-method>MKWORKSPACE</http-method>
	   <http-method>UPDATE</http-method>
	   <http-method>LABEL</http-method>
	   <http-method>MERGE</http-method>
	   <http-method>BASELINE-CONTROL</http-method>
	   <http-method>MKACTIVITY</http-method>
	   <http-method>ACL</http-method>
	   <http-method>SEARCH</http-method>
	   <http-method>BIND</http-method>
	   <http-method>UNBIND</http-method>
	   <http-method>REBIND</http-method>
	   <http-method>SUBSCRIBE</http-method>
	   <http-method>UNSUBSCRIBE</http-method>
	   <http-method>POLL</http-method>
	   <http-method>NOTIFY</http-method>
 
	  </web-resource-collection>
	  <auth-constraint>
	   <role-name>*</role-name>
	  </auth-constraint>
	</security-constraint>
 
	<security-constraint>
	  <web-resource-collection>
	   <web-resource-name>DAV resource upload</web-resource-name>
	   <url-pattern>/jsp/shark/*</url-pattern>
	   <http-method>GET</http-method>
	   <http-method>POST</http-method>
	  </web-resource-collection>
	  <auth-constraint>
	   <role-name>*</role-name>
	  </auth-constraint>
	</security-constraint>
-->
 
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>admin area</web-resource-name>
			<url-pattern>/admin/*</url-pattern>
			<url-pattern>/faces/admin/*</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<auth-constraint>
			<role-name>meslideadmin</role-name>
		</auth-constraint>
	</security-constraint>
 
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>Human ressources Area</web-resource-name>
			<url-pattern>/hr/*</url-pattern>
			<url-pattern>/skins/*</url-pattern>
			<url-pattern>/faces/hr/*</url-pattern>
			<url-pattern>/faces/skins/*</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
		</web-resource-collection>
		<auth-constraint>
			<role-name>meslideadmin</role-name>
			<role-name>med0hr</role-name>
		</auth-constraint>
	</security-constraint>
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>authenticated area</web-resource-name>
			<url-pattern>/secure/*</url-pattern>
			<url-pattern>/faces/secure/*</url-pattern>
			<http-method>GET</http-method>
			<http-method>POST</http-method>
			<http-method>DELETE</http-method>
			<http-method>PUT</http-method>
			<http-method>HEAD</http-method>
			<http-method>OPTIONS</http-method>
			<http-method>PROPFIND</http-method>
		</web-resource-collection>
		<auth-constraint>
			<role-name>*</role-name>
 
		</auth-constraint>
	</security-constraint>
<!-- 	
 <security-constraint>
  <web-resource-collection>
   <web-resource-name>authenticated area</web-resource-name>
   <url-pattern>/dissco/*</url-pattern>
   <http-method>GET</http-method>
   <http-method>POST</http-method>
  </web-resource-collection>
  <auth-constraint>
   <role-name>*</role-name>
  </auth-constraint>
 </security-constraint> 
-->
 
 
 
	<login-config>
		<auth-method>BASIC</auth-method>
		<realm-name>Intranet</realm-name>
	</login-config>
 
	<security-role>
		<description>System administrator</description>
		<role-name>root</role-name>
	</security-role>
	<security-role>
		<description>WebDAV administrator</description>
		<role-name>meslideadmin</role-name>
	</security-role>
	<security-role>
		<description>Logged in users</description>
		<role-name>user</role-name>
	</security-role>
	<security-role>
		<description>System administrator</description>
		<role-name>admin</role-name>
	</security-role>
	<security-role>
		<description>Human resources</description>
		<role-name>med0hr</role-name>
	</security-role>
	<security-role>
		<description>System scripts</description>
		<role-name>script</role-name>
	</security-role>
	<security-role>
		<description>NIS rmi user</description>
		<role-name>meintrauser</role-name>
	</security-role>
 
	<resource-ref>
		<res-ref-name>java:jboss/datasources/requestScopeDS</res-ref-name>
		<res-type>javax.sql.DataSource</res-type>
		<res-auth>Container</res-auth>
	</resource-ref>
 
</web-app>