mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 13:47:57 +01:00
Change mapping of securiy exceptions.
This commit is contained in:
parent
9d35aa8279
commit
4cab5299c4
@ -29,14 +29,13 @@
|
||||
<property name="exceptionMappings">
|
||||
<props>
|
||||
<!-- Security exceptions are wrapped in this exceptions -->
|
||||
<prop key="java.lang.reflect.UndeclaredThrowableException">securityError</prop>
|
||||
<prop key="com.wisemapping.exceptions.AccessDeniedSecurityException">securityError</prop>
|
||||
</props>
|
||||
</property>
|
||||
|
||||
<property name="statusCodes">
|
||||
<props>
|
||||
<!-- Handle missing found pages. Avoid generation of errors -->
|
||||
<prop key="securityError">200</prop>
|
||||
<prop key="securityError">404</prop>
|
||||
</props>
|
||||
</property>
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
@import "compatibility.css";
|
||||
|
||||
div#errorContainer {
|
||||
font-family:Helvetica;
|
||||
display: flex;
|
||||
|
Loading…
Reference in New Issue
Block a user