Monday, 17 September 2012

Problem with Grails Spring Security Plugin - Cannot login

I'm starting a Grails project, and I am using Spring Security to implement the login/auth feature. However, it seemed like there was no way of getting it to work, even though I have created the current roles and assigned them to the user on creation. Frustrated, I then looked at the default properties specified in the DefaultSecurityConfig.groovy file, and what I found was this:


apf.postOnly = true

Once seeing this, I had the issue fixed because I had a custom form that I created and I forgot to set the
Once I set that then everything worked!

No comments:

Post a Comment