ERROR-while SAML Parse in Open Saml 3.1.1

Sandeep urs sandeepursks at gmail.com
Thu Jun 18 02:38:17 EDT 2015


Yes I agree... We failed to initialize basepool in 3.1.1 .Unlike OpenSaml
2.6 , its constructor does this job.
Any ways now explicitly we are doing initialize() at 3.1.1 .

On Wed, Jun 17, 2015 at 11:23 PM, Brent Putman <putmanb at georgetown.edu>
wrote:

>
>
> On 6/17/15 10:27 AM, Sandeep urs wrote:
>
>
>  Element metadataRoot = document.getDocumentElement();
>  QName qName = new
> QName(metadataRoot.getNamespaceURI(),metadataRoot.getLocalName(),
> metadataRoot.getPrefix());
>  unmarshaller=
> org.opensaml.core.xml.util.XMLObjectSupport.getUnmarshaller(qName);
>
>
> Scott already gave the answer to your problem.  Unrelated to that:  the
> above is more complex than it needs to be.  We support lookup of
> Unmarshallers via direct input of an Element, in addition to a QName.
>
> So the last line could just be:
>
>     unmarshaller=
> org.opensaml.core.xml.util.XMLObjectSupport.getUnmarshaller(metadataRoot);
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net
>



-- 
Thanks & Regards
Sandeep KS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150618/cafa2933/attachment.html>


More information about the dev mailing list