Commit 0635393e authored by michael.simon's avatar michael.simon
Browse files

move error pages to error subfolder

parent 4e071fef
......@@ -104,7 +104,7 @@ public class SecurityFilter implements Filter {
path.startsWith("/Shibboleth.sso/") ||
path.startsWith("/saml/") ||
path.startsWith("/logout/") ||
path.startsWith("/error") ||
path.startsWith("/error/") ||
path.equals("/favicon.ico")
) {
chain.doFilter(servletRequest, servletResponse);
......
......@@ -67,17 +67,17 @@
<param-value>${bwreg.theme}</param-value>
</context-param>
<error-page>
<error-code>500</error-code>
<location>/error.xhtml</location>
</error-page>
<error-page>
<exception-type>edu.kit.scc.webreg.exc.SamlAuthenticationException</exception-type>
<location>/error-saml.xhtml</location>
<location>/error/error-saml.xhtml</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.xhtml</location>
<location>/error/error.xhtml</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/error/error.xhtml</location>
</error-page>
<distributable/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment