Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
0635393e
Commit
0635393e
authored
Nov 19, 2019
by
michael.simon
Browse files
move error pages to error subfolder
parent
4e071fef
Changes
4
Show whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/java/edu/kit/scc/webreg/sec/SecurityFilter.java
View file @
0635393e
...
...
@@ -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
);
...
...
bwreg-webapp/src/main/webapp/WEB-INF/web.xml
View file @
0635393e
...
...
@@ -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/>
...
...
bwreg-webapp/src/main/webapp/error-saml.xhtml
→
bwreg-webapp/src/main/webapp/error
/error
-saml.xhtml
View file @
0635393e
File moved
bwreg-webapp/src/main/webapp/error.xhtml
→
bwreg-webapp/src/main/webapp/error
/error
.xhtml
View file @
0635393e
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment