spring security - How to override class in grails -


i using spring security rest plugin authenticate user. in this, there class named restauthenticationfilter. want call methods of custom class customrestauthenticationfilter (which extends restauthenticationfilter) instead of restauthenticationfilter. how this?

is there way define in resources.groovy or somewhere else use customrestauthenticationfilter instead of restauthenticationfilter ?

i believe filtering nicely described ... in documentation!

https://grails-plugins.github.io/grails-spring-security-core/guide/filters.html

just amend grails.plugin.springsecurity.filterchain.filternamesvalue in config.groovy file contains restauthenticationfilter instead of restauthenticationfilter , should go.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

excel vba - VBA Proxy auto-configuration for http requests -

sql server 2008 - split ssrs expression between 2 words -