Change mapping of securiy exceptions.

This commit is contained in:
Paulo Gustavo Veiga 2022-03-14 23:33:16 -03:00
parent 9d35aa8279
commit 4cab5299c4
2 changed files with 2 additions and 5 deletions

View File

@ -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>

View File

@ -1,5 +1,3 @@
@import "compatibility.css";
div#errorContainer {
font-family:Helvetica;
display: flex;