Skip to Content.
Sympa Menu

mace-opensaml-users - [OpenSAML] Re: Using Extensions.

Subject: OpenSAML user discussion

List archive

[OpenSAML] Re: Using Extensions.


Chronological Thread 
  • From: rangeli nepal <>
  • To:
  • Subject: [OpenSAML] Re: Using Extensions.
  • Date: Wed, 9 Mar 2011 14:23:56 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=SdOfww704LxdNHfSIDDMnhITHpwv6MoAduKU1y00vRqMpXtB7SttZhoiRQEPv1h55n R5hVzMEzF4aYAR8v6+Nylk/Lj0H4SI+1zuTZMKopWhR6h0g1xTzScbMmrwflzvnEh+u+ NFz6/7VdZSpoEjuueM/QI8xgCtLP8Z8oMZsb0=

Other way to achieve same ,which works is to use
Configuration.registerObjectProvider.

However I am not sure if that is the way to do.
rn

On Wed, Mar 9, 2011 at 12:22 PM, rangeli nepal
<>
wrote:
> As suggested at
>
> https://spaces.internet2.edu/display/OpenSAML/OSTwoDeveloperManual
>
> I have built a cofiguration file containing ObjectProviders( Builder,
> Marshaller,UnMarshaller).
> I am not sure how to load this file. Any clue will be appreciated.
> Thank you.
> rn
>
> On Tue, Mar 8, 2011 at 2:34 PM, rangeli nepal
> <>
> wrote:
>> Good Evening Everybody,
>>
>> I am trying to use Extensions to incorporate some elements that are
>> not SAML elements.
>> In order to do so, I followed
>>
>> https://spaces.internet2.edu/display/OpenSAML/OSTwoDeveloperManual.
>>
>> As suggested I created  interfaces,Concrete Implementation by
>> extending AbstractSAMLObject.
>>  I built Marshaller,UnMarshaller and Builder.
>>
>> I thought I may not need Additional Configuration Information.
>>
>> I used this custom Object to build an AuthnRequest. However when I
>> marshall it I get. Any clue is will be highly appreciated.
>> Thank you.
>> rn
>>
>> java.lang.ClassCastException:com.xxx.ddd.ppp cannot be cast to
>> org.opensaml.xml.schema.XSAny
>>        at
>> org.opensaml.xml.schema.impl.XSAnyMarshaller.marshallAttributes(XSAnyMarshaller.java:39)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallInto(AbstractXMLObjectMarshaller.java:222)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:175)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallChildElements(AbstractXMLObjectMarshaller.java:316)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallInto(AbstractXMLObjectMarshaller.java:224)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:175)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallChildElements(AbstractXMLObjectMarshaller.java:316)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshallInto(AbstractXMLObjectMarshaller.java:224)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:130)
>>        at
>> org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:86)
>>        at
>> biz.neustar.dece.saml.SAMLAuthnRequest.buildAuthnRequest(SAMLAuthnRequest.java:331)
>>        at
>> biz.neustar.dece.saml.SAMLAuthnRequest.getAuthnRequest(SAMLAuthnRequest.java:357)
>>        at
>> biz.neustar.dece.saml.SAMLAuthnRequest.main(SAMLAuthnRequest.java:427)
>>
>



Archive powered by MHonArc 2.6.16.

Top of Page