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 -

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

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -