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.filternames
value in config.groovy
file contains restauthenticationfilter
instead of restauthenticationfilter
, should go.
Comments
Post a Comment