grnq / joid

Java OpenID = JOID OpenID providers and relying parties for OpenID 1.1 and 2.0
Other
4 stars 0 forks source link

using identity instead of claimed_id in openID version 1.x #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
version 2.0 of the protocol differs from 1.x in that openid.claimed_id and
openid.identity are optional in 2.0, but identity is REQUIRED and
claimed_id SHOULD NOT be used in 1.x. 

Thus for an authentication request, if we are using 1.x, then claimed_id is
not sent, which causes and an NPE to be thrown in OpenIdServlet. 

Attached patch solves this compatibility issue. The patch can be applied with 
patch -p1 [--dry-run] <patch_file>
on *nix systems. 

Original issue reported on code.google.com by enis....@gmail.com on 19 Feb 2008 at 9:20

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by birkan.d...@gmail.com on 21 Jul 2011 at 11:00