The specified HTTP method is not allowed for the requested resource.
reason:
Grails Spring Security Plugin use GET request to logout, but its config set default logout request methord to POST for safety reason.
solution:
in Config.groovy, add:
grails.plugin.springsecurity.logout.postOnly = false
or, just use POST request to logout in your application, that's more safe.
No comments:
Post a Comment