Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Marshaling an Extension

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Marshaling an Extension


Chronological Thread 
  • From: rangeli nepal <>
  • To:
  • Subject: Re: [OpenSAML] Marshaling an Extension
  • Date: Thu, 19 May 2011 10:54:50 -0400
  • 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; b=QlUcT7Itv+r49+yYc2C6iaS1qjD59p/RCgWDOZwaG4GMyUvka5XYh7bX4ElEpnAVk/ 0BeJLE3OGiBDo4J/C3fAsy4ki1BXmv/b9DNLS+mw6LHjiqeQ/GY38GdCfaxdUp45MmTs 7MS/yBjqQx2rl0hbujsIYIL0KdCoQLgXv4sAA=

Good Morning Scott,

I like to differ with you.

I am using,

import org.opensaml.saml2.common.Extensions;
import org.opensaml.saml2.common.impl.ExtensionsBuilder;


ExtensionBuilder looks like following. Thus creating md:Extensions is
obvious if I use default buildObject() method.
I hope I am not missing something that you are pointing at. If yes,
please guide me.

Thank you.
rn


public class ExtensionsBuilder extends AbstractSAMLObjectBuilder<Extensions> {

/**
*
{@inheritDoc}
*/
public Extensions buildObject() {
return buildObject(SAMLConstants.SAML20MD_NS,
Extensions.LOCAL_NAME, SAMLConstants.SAML20MD_PREFIX);
}

/**
*
{@inheritDoc}
*/
public Extensions buildObject(String namespaceURI, String
localName, String namespacePrefix) {
return new ExtensionsImpl(namespaceURI, localName, namespacePrefix);
}
}




On Thu, May 19, 2011 at 10:20 AM, Cantor, Scott E.
<>
wrote:
> On 5/19/11 7:52 AM, "rangeli nepal"
> <>
> wrote:
>>I have recently written a SAML extension using opensaml. It works nice
>>and fine. However recently I realized extension that it creates has
>>md:Extensions not saml2P:Extensions.
>
> Then you're probably using the wrong Extensions classes, I'm sure there
> are parallel objects in the other package.
>
> -- Scott
>
>



Archive powered by MHonArc 2.6.16.

Top of Page