Duration 15:57

Grails 4 Tutorial: Spring Security Core Login Example + Source code

5 173 watched
0
49
Published 19 Jan 2020

In this Grails 4 tutorial, we will show you how to build a secure Grails 4 application using Spring Security Core Plugin. We will add the login and register function to the Grails 4 application. The purpose of using the Spring Security plugin has simplified the integration of Spring Security Java (we have written this tutorial). The usage of this Grails 4 Spring Security plugin similar to Grails 2 or 3, but there's a lot of updates on the Spring Security code and its dependencies to match the compatibilities. This tutorial divided into several steps: Step #1: Create a Grails 4 Application. Step #2: Install Grails Spring Security Core Plugin. Step #3: Create User, Role, and Product Domain Class. Step #4: Create CustomUserDetailsService. Step #5: Override Login Auth View. Step #6: Add User Info and Logout to the Navbar. Step #7: Create Register Controller and View. Step #8: Create the Secure Product CRUD Scaffolding. Full article here: https://www.djamware.com/post/5db9a359fe53660ee3228772/grails-4-tutorial-spring-security-core-login-example Full source code here: https://github.com/didinj/grails4-spring-security-login-example.git More on Groovy and Grails: https://www.djamware.com/post-sub-category/585b3fa380aca73b19a2efd4/groovy-and-grails If you find this video is useful and give you good information, please subscribe to this link /channel/UCtI81hYLh2Ae_45KHkyy0vw #grails #login #source_code #springsecurity #grails4 #springsecuritylogin #authentication #webapp

Category

Show more

Comments - 10