lunedì, maggio 20, 2013

Spring - Unable to process claimed identity ''

Issue - The openId gmail authentication, built on top of springsecurity, stopped to work on my website and I got this error: Unable to process claimed identity ''

Reason - in the class OpenID4JavaConsumer
error: org.openid4java.discovery.DiscoveryException: 0x70d: Error parsing XML document

I fixed the issue by updating the version of xmlParserAPIs and xercesImpl from 2.5 to 2.6.x.
The wrong version for xmlParserAPIs and xmlParserAPIs was brought by jcaptcha so I had to exclude those two.
See this link on jugevents.

2 commenti:

Manu Vega ha detto...

Hi, who use xmlParserAPIs and xercesImpl ? Is it necessary to define them in pom.xml?

enricoGi ha detto...

@Manu see my update, basically I have excluded these two jars as dependencies of jcaptcha