Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenId provider/server with Java

I'm trying to enhance an existing Java web application with an OpenId service, so that a logged in user can log into another OpenId enabled app using my web application as an OpenId provider.

My first attempt was to use JOS as OpenId provider which should in turn use my app's database to get existing user names and passwords. Nevertheless I could not find any documentation for JOS, when I was trying to customize JOS to make it fit to my existing app (It did not even compileUpdate: It only compiles with Java 6).

At the moment I am searching for other possible solutions, but OpenId provider frameworks seem to be scarce.

What would you recommend? Using a finished server like JOS or should I consider to enhance my application by writing my own OpenId server with libraries like openid4java?

like image 994
taffer Avatar asked Oct 25 '12 13:10

taffer


1 Answers

I have not tried it myself, but my team started work on a JSF+OpenId integrated application after studying these few examples:

  • Client: IBM Example:very helpful
  • Server: IBM Example:very helpful
  • Additionally: what is OpenId and how its work
  • Also: openId API for Java

That's all I know about this, I hope it helps.

like image 81
Jubin Patel Avatar answered Sep 23 '22 06:09

Jubin Patel