I'm using Grails v2.4.2 with spring-security-rest, spring-security-core, and spring-security-ui plugins.
I'm trying to disable the RestAuthenticationFilter that comes with spring-security-rest so that I can write a custom Authentication Filter that is not case sensitive.
In my config.groovy, I'm using the following filter chain map:
grails.plugin.springsecurity.filterChain.chainMap = [
'/**': 'JOINED_FILTERS,-exceptionTranslationFilter,-authenticationProcessingFilter,-securityContextPersistenceFilter,-rememberMeAuthenticationFilter,-restAuthenticationFilter'
]
I've added '-restAuthenticationFilter' to exclude RestAuthenticationFilter but it is still running.
How can I exclude RestAuthentication Filter or is there an easier way to add case insensitivity to the username when logging in through RestAuthenticationFilter?