Rev 1824 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1824 | Rev 1830 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | <filter> |
38 | <filter> |
39 | <filter-name>TopImageFilter</filter-name> |
39 | <filter-name>TopImageFilter</filter-name> |
40 | <filter-class>pt.estgp.estgweb.web.filters.TopImageFilter</filter-class> |
40 | <filter-class>pt.estgp.estgweb.web.filters.TopImageFilter</filter-class> |
41 | </filter> |
41 | </filter> |
42 | <filter> |
42 | <filter> |
43 | <filter-name>TopImageDirectoryFilter</filter-name> |
- | |
44 | <filter-class>pt.estgp.estgweb.web.filters.TopImageDirectoryFilter</filter-class> |
- | |
45 | </filter> |
- | |
46 | <filter> |
- | |
47 | <filter-name>UserFilter</filter-name> |
43 | <filter-name>UserFilter</filter-name> |
48 | <filter-class>pt.estgp.estgweb.web.filters.UserFilter</filter-class> |
44 | <filter-class>pt.estgp.estgweb.web.filters.UserFilter</filter-class> |
49 | </filter> |
45 | </filter> |
50 | <filter> |
46 | <filter> |
51 | <filter-name>AppUserFilter</filter-name> |
47 | <filter-name>AppUserFilter</filter-name> |
Line 73... | Line 69... | ||
73 | </filter> |
69 | </filter> |
74 | <filter> |
70 | <filter> |
75 | <filter-name>CertificateAuthenticationFilter</filter-name> |
71 | <filter-name>CertificateAuthenticationFilter</filter-name> |
76 | <filter-class>pt.estgp.estgweb.web.filters.CertificateAuthenticationFilter</filter-class> |
72 | <filter-class>pt.estgp.estgweb.web.filters.CertificateAuthenticationFilter</filter-class> |
77 | </filter> |
73 | </filter> |
- | 74 | <filter> |
|
- | 75 | <filter-name>AuthenticationAllFilter</filter-name> |
|
- | 76 | <filter-class>pt.estgp.estgweb.web.filters.AuthenticationAllFilter</filter-class> |
|
- | 77 | <init-param> |
|
- | 78 | <param-name>allowedPatternsContains</param-name> |
|
- | 79 | <param-value>robots.txt</param-value> |
|
- | 80 | </init-param> |
|
- | 81 | <init-param> |
|
- | 82 | <param-name>allowedPatternsStartsWith</param-name> |
|
- | 83 | <param-value> |
|
- | 84 | /authenticate, |
|
- | 85 | /yui, |
|
- | 86 | /css, |
|
- | 87 | /img, |
|
- | 88 | /js, |
|
- | 89 | /layout/themes, |
|
- | 90 | /wsjson/api, |
|
- | 91 | /wsjson/api/app/ |
|
- | 92 | </param-value> |
|
- | 93 | </init-param> |
|
- | 94 | <init-param> |
|
- | 95 | <param-name>allowedPatternsEqual</param-name> |
|
- | 96 | <param-value> |
|
- | 97 | /, |
|
- | 98 | /index.jsp |
|
- | 99 | </param-value> |
|
- | 100 | </init-param> |
|
- | 101 | </filter> |
|
- | 102 | ||
- | 103 | ||
78 | 104 | ||
79 | <filter-mapping> |
105 | <filter-mapping> |
80 | <filter-name>UrlDisplayFilter</filter-name> |
106 | <filter-name>UrlDisplayFilter</filter-name> |
81 | <url-pattern>/*</url-pattern> |
107 | <url-pattern>/*</url-pattern> |
82 | </filter-mapping> |
108 | </filter-mapping> |
Line 109... | Line 135... | ||
109 | <filter-mapping> |
135 | <filter-mapping> |
110 | <filter-name>UserSessionFilter</filter-name> |
136 | <filter-name>UserSessionFilter</filter-name> |
111 | <url-pattern>/*</url-pattern> |
137 | <url-pattern>/*</url-pattern> |
112 | </filter-mapping> |
138 | </filter-mapping> |
113 | <filter-mapping> |
139 | <filter-mapping> |
- | 140 | <filter-name>AuthenticationAllFilter</filter-name> |
|
- | 141 | <url-pattern>/*</url-pattern> |
|
- | 142 | </filter-mapping> |
|
- | 143 | <filter-mapping> |
|
114 | <filter-name>AppUserFilter</filter-name> |
144 | <filter-name>AppUserFilter</filter-name> |
115 | <url-pattern>/wsjson/api/app/secure/*</url-pattern> |
145 | <url-pattern>/wsjson/api/app/secure/*</url-pattern> |
116 | </filter-mapping> |
146 | </filter-mapping> |
117 | - | ||
118 | <filter-mapping> |
147 | <filter-mapping> |
119 | <filter-name>UserRoleProxy</filter-name> |
148 | <filter-name>UserRoleProxy</filter-name> |
120 | <url-pattern>/*</url-pattern> |
149 | <url-pattern>/*</url-pattern> |
121 | </filter-mapping> |
150 | </filter-mapping> |
122 | <filter-mapping> |
151 | <filter-mapping> |
Line 240... | Line 269... | ||
240 | /WEB-INF/struts/struts-jsonwidget.xml, |
269 | /WEB-INF/struts/struts-jsonwidget.xml, |
241 | /WEB-INF/struts/struts-json-model.xml, |
270 | /WEB-INF/struts/struts-json-model.xml, |
242 | /WEB-INF/struts/struts-json-ws.xml, |
271 | /WEB-INF/struts/struts-json-ws.xml, |
243 | /WEB-INF/struts/examples/struts-example-jsonwidget.xml, |
272 | /WEB-INF/struts/examples/struts-example-jsonwidget.xml, |
244 | /WEB-INF/struts/struts-bpmn.xml, |
273 | /WEB-INF/struts/struts-bpmn.xml, |
245 | /WEB-INF/struts/struts-repositorydocs.xml |
274 | /WEB-INF/struts/struts-repositorydocs.xml, |
- | 275 | /WEB-INF/struts/struts-json-utils.xml |
|
246 | </param-value> |
276 | </param-value> |
247 | </init-param> |
277 | </init-param> |
248 | <init-param> |
278 | <init-param> |
249 | <param-name>debug</param-name> |
279 | <param-name>debug</param-name> |
250 | <param-value>2</param-value> |
280 | <param-value>2</param-value> |
Line 365... | Line 395... | ||
365 | </servlet-mapping> |
395 | </servlet-mapping> |
366 | 396 | ||
367 | <!--SOAP Tutorial--> |
397 | <!--SOAP Tutorial--> |
368 | 398 | ||
369 | <!-- TODO MUDAR ISTO PARA APENAS AUTENTICADOS APOS O TESTE --> |
399 | <!-- TODO MUDAR ISTO PARA APENAS AUTENTICADOS APOS O TESTE --> |
- | 400 | ||
370 | <servlet-mapping> |
401 | <servlet-mapping> |
371 | <servlet-name>FilesUpload</servlet-name> |
402 | <servlet-name>FilesUpload</servlet-name> |
372 | <url-pattern>/filesUpload</url-pattern> |
403 | <url-pattern>/filesUpload</url-pattern> |
373 | </servlet-mapping> |
404 | </servlet-mapping> |
374 | 405 | ||
Line 506... | Line 537... | ||
506 | <error-page> |
537 | <error-page> |
507 | <exception-type>pt.estgp.estgweb.web.exceptions.InternalException</exception-type> |
538 | <exception-type>pt.estgp.estgweb.web.exceptions.InternalException</exception-type> |
508 | <location>/error401.do</location> |
539 | <location>/error401.do</location> |
509 | </error-page> |
540 | </error-page> |
510 | <error-page> |
541 | <error-page> |
511 | <exception-type>java.lang.OutOfMemoryError</exception-type> |
- | |
512 | <location>/error500.do</location> |
- | |
513 | </error-page> |
- | |
514 | <error-page> |
- | |
515 | <exception-type>pt.estgp.estgweb.filters.exceptions.NotFoundException</exception-type> |
542 | <exception-type>pt.estgp.estgweb.filters.exceptions.NotFoundException</exception-type> |
516 | <location>/error404.do</location> |
543 | <location>/error404.do</location> |
517 | </error-page> |
544 | </error-page> |
518 | <error-page> |
545 | <error-page> |
519 | <exception-type>java.io.FileNotFoundException</exception-type> |
546 | <exception-type>java.io.FileNotFoundException</exception-type> |
Line 522... | Line 549... | ||
522 | <error-page> |
549 | <error-page> |
523 | <exception-type>java.io.IOException</exception-type> |
550 | <exception-type>java.io.IOException</exception-type> |
524 | <location>/error500.do</location> |
551 | <location>/error500.do</location> |
525 | </error-page> |
552 | </error-page> |
526 | <error-page> |
553 | <error-page> |
- | 554 | <exception-type>java.lang.RuntimeException</exception-type> |
|
- | 555 | <location>/error500.do</location> |
|
- | 556 | </error-page> |
|
- | 557 | <error-page> |
|
527 | <exception-type>java.lang.Throwable</exception-type> |
558 | <exception-type>java.lang.Exception</exception-type> |
528 | <location>/error500.do</location> |
559 | <location>/error500.do</location> |
529 | </error-page> |
560 | </error-page> |
530 | <error-page> |
561 | <error-page> |
531 | <error-code>401</error-code> |
562 | <error-code>401</error-code> |
532 | <location>/error401.do</location> |
563 | <location>/error401.do</location> |