shibboleth - uncaught runtime exception on request
Rod Widdowson
rdw at steadingsoftware.com
Wed Dec 7 09:56:04 EST 2016
> I suspect, it might have something to do with my script attribute resolver attribute Definition?
Yup.
> java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
I'll guess is because
> pubCreds = subjects[0].getPrincipals().toArray();
subjects isn't an array/hasn’t been initialized. Given that you are running 3.3 I'd next guess that this is your problem (from the
doc)
>[...] subjects [...]. Note that these will only be present if the attribute resolution has been associated with an act of
> authentication (and so this will not work for back channel requests). [1]
[1] https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition
More information about the users
mailing list