-
Feature Request
-
Resolution: Done
-
Major
-
PLINK_2.7.0.Final
-
None
Support this kind of configuration when defining redirection points:
SecurityConfigurationBuilder builder = event.getBuilder(); builder .http() .forPath("/basicProtectedUri/*") .authenticateWith() .basic() .redirectTo("/customErrorPage.html") .whenException(CustomExceptionThrower.CustomException.class);
In this case, a redirect url can be define based on a specifyc exception type.