|
Introduction
Introduction to JOID.
Featured JOID is an OpenID 1.x/2.0 Java library that lets you implement providers as well as relying parties. JOID compiles under JDK 1.4 or later. FlowsUsageFlows describes the common usage flows. UsageThe over-riding design goal of JOID is simplicity of use. The javadocs will tell you more, but the main use case is: // Get a store implementation (used to handle associations). Store store = ... // Get an OpenID implementation OpenId openId = new OpenId(store); // Process the request into a response String response = openid.handleRequest(query); JOID processes messages by using a factory to parse the request, and then use this request to generate a response. If you wish, you can also drop down to a slightly lower level, for example, should you need to specify which type of crypto implementation to use, or if you need to inspect incoming requests or outgoing responses. It's still a very simple API: // Parse the incoming message Request req = RequestFactory.parse(string); // Get a store implementation (used to handle associations) and a // crypto implementation (to handle the OpenID protocol crypto) Store store = ... Crypto crypto = ... // Use the request and process with the store and crypto to // produce a response Response resp = req.processUsing(store, crypto); JOID Enabling Your ApplicationSetting Up A JOID ServerMailing listsJOID has two mailing lists, both public to join:
| ||||||
► Sign in to add a comment
I would like to use this sample but it would be easier to have store creation sample.
Where are the javadocs?
Please let me know where is working example to implement providers as well as relying parties, thanks
when I tried with .war files installation, and used for yahoo aunthentication, yahoo displays error saying this is old version of Openid, we support OpenId? 2.0
Worked nicely - I wrote a simple user manager backed by an LDAP directory, and it all went off like a charm. Thank you!
There is a mistake in build.propeties regarding a missing httpclient jar in the joid war lib. e.g.
commons_httpclient_jar=${lib.hibernate}/commons-httpclient-3.1-rc1.jar
should be
commons_httpclient_jar=${lib}/commons-httpclient-3.1-rc1.jar
because that is where the jar lives.
Hi , i am a new developer in this field and
I have a question: As i know that the user information is shared with the relying party if the user agree on that so where is this part in the source code , the part that the Identity provider send the user information to the relying party?
waiting for ur replies
thank you, Liliane