KeyInfoBuilder in OpenSAML 3
Brent Putman
putmanb at georgetown.edu
Wed Jun 10 15:59:50 EDT 2015
On 6/10/15 3:03 PM, Stephen.CTR.Chappell at faa.gov wrote:
>
> I’m upleveling some code to OpenSAML3 that used the KeyInfoBuilder
> class. It looks like that class doesn’t exist anymore?
>
No, it does exist. org.opensaml.xmlsec.signature.impl.KeyInfoBuilder in
module opensaml-saml-impl.
> Should I just use a XMLObjectBuilder<KeyInfo> instead?
>
I just mentioned this recently in another thread:
> Btw, in both v2 and v3 we discourage direct use of the -Builder
> classes like that. We recommend you obtain XMLObject builders,
> marshallers and unmarshallers via the registered providers. In v2,
> builder usage:
>
> https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUsrManJavaCreateFromScratch
>
> In v3, no wiki docs yet, but either use the global
> XMLObjectProviderRegistry via
> org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport, or the
> higher level methods on org.opensaml.core.xml.util.XMLObjectSupport.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150610/2b8fef7b/attachment-0001.html>
More information about the dev
mailing list