• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to authenticate a user using open Id after logging in the system

 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Spring Security in our application

My requirement intially was to allow a user to login to our application using open id.
I was able to do so referring to online tutorials on using open id in Spring sercurity.

eg:




and a class as:


I now have a requirement to allow an existing user to "attach" his open id to our application.
meaning that a user that is logged in, will add his open id into the system so that next time he can login using that open id.

So, given that i know the open id url eg: https://www.google.com/accounts/o8/id
How do I prompt user to login to the third party such as google and then return to our app and extract the open id url?

Will roles help me here ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic