Skip to Content.
Sympa Menu

mace-opensaml-users - Re: Problems signing response...XMLObject does not have the XMLSignature created during marshalling

Subject: OpenSAML user discussion

List archive

Re: Problems signing response...XMLObject does not have the XMLSignature created during marshalling


Chronological Thread 
  • From: Mike Klein <>
  • To:
  • Subject: Re: Problems signing response...XMLObject does not have the XMLSignature created during marshalling
  • Date: Mon, 14 May 2007 12:03:10 -0700
  • Organization: Virtual Appliance, Inc.

I pulled latest release for each subsystem and can get them to build,
although tests don't pass again.

I now have SignatureConstants class which is good.

I notice there are some changes which now break startup/initialization.
This may be because we are using xerces 2.7.1 (I will try 2.9.0) but it
seems like coding error. I am looking into it.

java.lang.NullPointerException
at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.getAttribute(Unknown
Source)
at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown
Source)
at
org.opensaml.xml.parse.BasicParserPool.createBuilder(BasicParserPool.java:506)
at
org.opensaml.xml.parse.BasicParserPool.getBuilder(BasicParserPool.java:158)
at
org.opensaml.xml.parse.BasicParserPool.parse(BasicParserPool.java:199)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:128)
at
org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:126)
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:71)


mike


Mike Klein wrote:
> Thanks for help all. I will pull build later tonight and check things.
>
> With latest vers I was able to build all 3 subsystems for I was missing
> SignatureConstants class and couldn't call below method.
>
>
> mike
>
> Brent Putman wrote:
>
>> Sounds like you are passing a bad value for the C14N method, or perhaps
>> not setting it all. What value are you passing to
>> Signature#setCanonicalizationAlgorithm(String) ?
>>
>>
>>
>> Mike Klein wrote:
>>
>>
>>> I selected algorithm and am now doing signing after marshalling and
>>> before serialization.
>>>
>>> Now I receive following:
>>>
>>> 2007-05-12 22:17:05,267 ERROR [Signer] An error occured computing the
>>> digital signature
>>> org.apache.xml.security.signature.XMLSignatureException: Unknown
>>> canonicalizer. No handler installed for URI
>>> Original Exception was
>>> org.apache.xml.security.c14n.InvalidCanonicalizerException: Unknown
>>> canonicalizer. No handler installed for URI
>>> at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source)
>>> at org.opensaml.xml.signature.Signer.signObject(Signer.java:74)
>>>
>>> What might cause the above?
>>>
>>>
>>> mike
>>>
>>>
>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>



Archive powered by MHonArc 2.6.16.

Top of Page