EntityRoleWhiteList metadata filter
Cantor, Scott
cantor.2 at osu.edu
Wed Jun 27 12:34:17 EDT 2018
On 6/27/18, 12:13 PM, "dev on behalf of Tom Scavo" <dev-bounces at shibboleth.net on behalf of trscavo at gmail.com> wrote:
> I see. Unfortunately the getSPSSODescriptor method takes a protocol
> string argument, so that looks like a dead end, at least for my
> purposes.
I thought the Java API incuded subtype collection accessors, apparently not.
> There is a no-argument getRoleDescriptors() method but I don't know
> how to map the resulting list of RoleDescriptor objects to the
> corresponding list of local names. If I knew how to do that, I could
> test if the list of local names contains "SPSSODescriptor".
Pretty sure it's just getLocalName() but refer to the javadocs I suppose, whatever is on XMLObject should expose the relevant information. Of course that only works for named child elements and not xsi:type'd extension children but that's good enough.
-- Scott
More information about the dev
mailing list