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 12:22:26 -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=VkmLi4xl15AyeCm0UBDwfkmVIy2ZNUemhUk08JnzxiWj0Bl+/tAVDOjc+LdfdcHgrb 8U+32XKE47VN5/I/liC+V3y1Li8cA2kS0+AYFQzG1UMHhX/XEmcVDh1w+vxEKo7ybbNG 5geiu+sRFlQQMUs5JRr1YpIfx5/UYQUnJj5rw=

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