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"> <property name="exceptionMappings">
<props> <props>
<!-- Security exceptions are wrapped in this exceptions --> <!-- Security exceptions are wrapped in this exceptions -->
<prop key="java.lang.reflect.UndeclaredThrowableException">securityError</prop> <prop key="com.wisemapping.exceptions.AccessDeniedSecurityException">securityError</prop>
</props> </props>
</property> </property>
<property name="statusCodes"> <property name="statusCodes">
<props> <props>
<!-- Handle missing found pages. Avoid generation of errors --> <prop key="securityError">404</prop>
<prop key="securityError">200</prop>
</props> </props>
</property> </property>

View File

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