A Grails 3.0 sample application with straightforward security you can understand.
- Sign up (register)
- Sign in (authenticate)
- Sign out (logout)
- TagLibs
<security:username />
<security:ifAnonymous>...</security:ifAnonymous>
<security:ifSignedIn>...</security:ifSignedIn>
<security:signUpLink />
<security:signInLink />
<security:signOutLink />
<security:authToggleLink />
<security:signUpForm />
<security:signInForm />
- Change password
- Reset password
- Remember me
- Make it a plugin
- Authorization (roles)
- Token (CSRF)