grails 3 spring security boot starter login page customization -


is possible customize login gsp page starter security plugin? org.springframework.boot:spring-boot-starter-security
read adding grails-app/views/login/auth.gsp made no difference.

if using grails 3, find easier use grails plugin, rather trying use spring boot starter directly. in gradle build, put:

compile 'org.grails.plugins:spring-security-core:<version>'

if run provided starter script, necessary grails config values placed in application.groovy adjust needs. docs plugin quite good: https://grails-plugins.github.io/grails-spring-security-core/, , once see how plugin works, spring documentation becomes easier use in context of grails (for example, spring bean config might want based on spring's docs in grails-app/conf/spring/resources.groovy using bean builder dsl.

if use plugin spring wiring done you, , override of login page's gsp should work advertised.

if don't want use grails plugin, perhaps looking @ source plugin give information need wire in spring package (since that's plugin does). of spring wiring work takes place right in plugin file springsecuritycoregrailsplugin.groovy


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -