Had the pleasure of using the spring support for OpenID to intergrate security into a simple webapp. OpenID basically is a decentralized single sign-on based protocal over the internet. I used a custom UserDetailsService implementation of my own to create a UserDetails from my defined tables. The UserDetails needs username/password and a list of authenticated roles. These role have to be prefixed with ‘ROLE_’ e.g. ROLE_ADMIN, ROLE_SUPERVISOR.
Once a custom UserService has been provided via the AuthenicationProvider tag and also plugged in the relevant security web filter in web.xml, you can then specify a
There is not much documentation on how to use this out there, let me know if you need anymore d3tails.
No comments:
Post a Comment