Open danhyun opened 10 years ago
Thanks for the report. I'm still not sure whether to use version 2 of the plugin for the book since a final version hasn't been released yet, but I think it makes sense.
The author of the plugin expects to have a final release out some time in February, in plenty of time for the publication of the book. So I will update to version 2 of the plugin.
That's great news :+1:
The author of the Twitter integration has a fix for how to get past the s2-init-twitter
command failing:
https://github.com/splix/grails-spring-security-twitter/issues/23
Hi guys, just found this project. Maybe I can help you with examples for my plugins (twitter and facebook auth)? or something else?
In Grails 2.3.4, the
BuildConfig
contains a commented out declaration for spring security.It also now generates 3 classes,
User Role and UserRole
from thes2-quickstart
command.As documented here http://grails-plugins.github.io/grails-spring-security-core/docs/manual/guide/domainClasses.html#personAuthorityClass : The
UserRole
class is to compensate for hibernate.It also seems that the new prefix for properties is
grails.plugin
vsgrails.plugins
vs
Section 11.2
With the new plugin, this code will no longer work:
This is because the new
LoginController
checks either for aPOST
http method or an overriding property. I'm guessing they switched to this form submission for more security?I guess we could also modify the controller code.