Accessing Metadata via Java
Ken Schwartzreich
shibboleth at CubicC.com
Mon Jan 30 15:58:17 GMT 2012
Thanks again, Scott. Can anyone else help?
Taking Scott's guidance, I called
org.opensaml.saml2.metadata.EntityDescriptor entity =
((edu.internet2.middleware.shibboleth.common.relyingparty.provider.SAMLMDRelyingPartyConfigurationManager)
com.hrb.gua.util.AppContext.getApplicationContext().getBean("shibboleth.RelyingPartyConfigurationManager")).getMetadataProvider().getEntityDescriptor();
entity.getEntityID() returns the SP's entity ID, but entity.getDOM()
(or almost anything else) returns null or an empty List/Set/Array
(even through the debugger).
Do any of the Java folks know if this object is getting populated
completely?
-Ken
On Sat 01/28/12 6:22 PM , "Cantor, Scott" cantor.2 at osu.edu sent:
On 1/28/12 6:18 PM, "Ken Schwartzreich" wrote:
>Thanks, Scott. Which API call(s) can I use to retrieve the
>MetadataProvider? SAMLMDRelyingPartyConfigurationManager
>RelyingPartyConfigurationManager.html>.getMetaDataProvider() ?
I don't write the Java, I don't know what the APIs are until I go to
do
something and then I read the rest of the code to figure out what to
do.
-- Scott
--
To unsubscribe from this list send an email to
javascript:top.opencompose(\'dev-unsubscribe at shibboleth.net\',\'\',\'\',\'\')
[2]
Links:
------
[1] mailto:shibboleth at CubicC.com
[2] mailto:dev-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20120130/dbfe1f40/attachment.html
More information about the dev
mailing list