OpenId Provider / Server with Java

I am trying to improve an existing Java web application using the OpenId service so that a registered user can log in to another application with OpenId enabled using my web application as an OpenId provider.

My first attempt was to use JOS as an OpenId provider, which in turn should use my application database to retrieve existing usernames and passwords. However, I could not find the documentation for JOS when I tried to configure JOS to fit my existing application ( It didn’t even compile Update: it only compiles with Java 6).

I'm currently looking for other possible solutions, but the infrastructure of the OpenId provider seems sparse.

What would you recommend? Using a ready-made server, such as JOS, or should I consider that I am improving my application by writing my own OpenId server with libraries such as openid4java?

+4
source share
2 answers

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

What I know about it, hope it helps.

+4
source

You can find tons of options on the OpenID website .

A few years ago, I implemented this project using OpenID4Java .
(Note that in your internal contingent you will need to connect to some repository that stores all users / passwords - I used OpenLDAP for this)

NTN.

+1
source

Source: https://habr.com/ru/post/1442066/


All Articles