2 Intallation - Reference Documentation
Authors: Igor Artamonov (igor@artamonov.ru)
Version: 0.17
2 Intallation
2.1 Installation
Install plugin
Basically it's just adding dependency into `BuildConfig.groovy`:plugins {
compile ">>
}
plugins {
compile ">>
}
grails s2-quickstart //configure Spring Security Core grails s2-init-facebook //configure Spring Security Facebook
2.2 Upgrade Notice
Upgrading from version 0.9
Since version 0.10 plugin have started to use Server Side authentication by default, instead of Client Side authentication (based on Facebook JS SDK) that was default implementation for version 0.9 and earlier.If you want to continue using Client Side authentication, you should add following configuration intoConfig.groovy
:
grails.plugin.springsecurity.facebook.filter.type='transparent,cookieDirect'