Collaborative authentication through multiple plugins in Grails

I modeled a large Grails project in several plugins and want to provide access to the spring security plugin to manage authentication in my project - is there an easy way to do this? I am not sure how to provide access to the main project plugins from additional modules.

+3
source share
1 answer

If you use the spring security grails plugin for your authentication, just define this plugin in your base sub-plugin, for example:

grails.project.dependency.resolution = {
    [..]
    plugins {
        compile ":spring-security-core:1.1.3"
        compile ":spring-security-ui:0.1.2"     
    }
}

, , springSecurityService ( application.properties).

0

Source: https://habr.com/ru/post/1764439/


All Articles