@burtbeckwith starts with a discussion of filters in Spring Security Core and Grails. Then, he discusses how to customize the plugin by:
- Overriding beans
- Customizing bean properties
- Custom User Detail Service
- Custom Authentication Provider
- Custom Post-Logout behavior
Checkout the slides.
Great post by @objectpartners. They show, step by step, how to create a custom authentication mechanism backed by Spring Security Core. It introduces the characters involved in getting a custom authentication working:
- Authentication Provider
- Authentication Filter
- Authentication Token
I migrated the example to Grails 3
Imagine you want to do something like this:
An app exposes a REST API that needs a special custom security provider. The client is issued an API key when they purchase the COTS product, and (basically) a hash of this key is remoted by a rich client during the authentication process so they can access backend services. However they can also access parts of the app using a normal browser interface with a user password and standard “remember me” features.
@glen_a_smith shows you how to do it!
If you are coming to Greach, stop by the OCI table to check out the Apple TV app with Grails demo, say hi to the OCI Grails team, collect some Grails swag, and enter to WIN A FREE APPLE TV!
I gave this talk at the latest Madrid Groovy User Group. I introduced Grails 3 TVML Plugin; a plugin, in development, to facilitate the coding of TVMLKit applications for tvOS. I did demo the development of TVML app with Grails.