Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Using Higgins Token Adapter with xml-apis

Could you clarify what you mean by "Higgings Token disassembly module"?  Have a look at the components listed here http://wiki.eclipse.org/Components#Plugins_folder.  I say this because none of the entries in your stack trace look like they actually _originate_ within Higgins code.

It seems, from the stacktrace anyways, that the code which depends on a newer version of xml-apis is in com.infosys.ps.icas.higgins  and not org.eclipse.higgins.

Any way you could confirm that?

Thanks,

ian.


On Mar 21, 2008, at 4:42 AM, Aveek Misra wrote:
I am trying to integrate CardSpace authentication in our application using the Higgins Token disassembly module. However my application also uses xerces-j libraries (xml-apis.jar and xercesImpl.jar) version 2.6.2. Therefore the CLASSPATH of my application also contains the path to xml-apis.jar. When I try to run the CardSpace auth module in our application, I get the following error:
 
March 20, 2008 2:14:51.375 PM[23257749:E] Exception Stack Trace: java.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/lang/String;
        at com.infosys.ps.icas.higgins.TokenAdapter.getValueFromElement(TokenAdapter.java:146)
        at com.infosys.ps.icas.higgins.TokenAdapter.getValueFromElements(TokenAdapter.java:141)
        at com.infosys.ps.icas.higgins.TokenAdapter.init(TokenAdapter.java:104)
        at com.infosys.ps.icas.InfoCardToken.getTokenPrimitive(CardToken.java:121)
        at com.infosys.ps.icas.InfoCardToken.getClaims(CardToken.java:59)
        at com.infosys.ps.icas.InfoCardToken.getVPPID(CardToken.java:51)
        at com.infosys.ps.icas.Authenticator.Lookup(Authenticate.java:240)
        at com.infosys.ps.icas.Authenticator.authenticateCardSpace(Authenticate.java:222)
        at com.infosys.ps.icas.Authenticator.authenticate(Authenticator.java:65)
 
This problem goes away if I remove or rename the xml-apis.jar from my application installation. However that is not an option (neither is modifying the CLASSPATH). That being the case, how can I resolve the above error? Please note that any change in the version of xml-apis.jar will also incur a cascading effect on other components that depend on this jar, so I am looking for a solution that will help me localize the fix to my auth module only, in case possible.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
<ATT00001.c>


Back to the top