These are chat archives for alvarosanchez/spring-security-rest

Apr 2015
Gokhan Dogramaci
Apr 07 2015 13:21
Hi everyone, I have a problem with failure handling. I tried to achieve custom error handling but couldn't do it without modifying the source code of the plugin. One way was the adding a custom filter to spring and trying to catch the error and add things to the output stream or changing the status code. But it didn't work because of the plugin ends the filter chain if something goes wrong. Then I tried to set a custom handler instead of the RestAuthenticationFailureHandler but I couldn't do it, too. Is there any chance to add this feature to the plugin? Like setting a variable in the Config.groovy file someting like''? I can create a pull request for that. Thanks in advance.