Hi all,
Thanks for all of your work! A quick, easy recommendation for
jopenid, with code:
For reasons I don't understand, Google uses the default namespace,
while Yahoo uses "ax". Is there a better way to discover the default
namespace? Maybe it would be nice to build this into the
OpenIdManager?
/**
* Get authentication information from HTTP request and key.
*/
public Authentication getAuthentication(HttpServletRequest
request, byte[] key)
{
String claimedId = request.getParameter("openid.claimed_id");
if (claimedId != null && claimedId.contains("
yahoo.com"))
{
return getAuthentication(request, key, "ax");
}
else
{
return getAuthentication(request, key,
ExtNamespace.DEFAULT_ALIAS);
}
}
--
Subscription settings:
http://groups.google.com/group/jopenid-discussion-group/subscribe?hl=en