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 -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -