In this tutorial, we will show you how to implementing custom user details for Grails 4 and Spring Security web applications. As a default, the Grails 4 Spring Security generated user domain or entity has only username and role fields that can get or show in the SecurityTagLib. So, we will add additional fields to display user info or details in the SecurityTagLib.
This tutorial divided into several steps:
Full article here:
https://www.djamware.com/post/5ef41459a3120f3df580ec52/grails-4-and-spring-security-custom-user-details-example
Source code:
https://github.com/didinj/grails-4-spring-security-custom-user-details.git
#spring #grails #security #developer