Aw: RE: shibboleth - uncaught runtime exception on request
Ilya Rumyantsev
iliggio at gmx.de
Wed Dec 7 09:15:31 EST 2016
I suspect, it might have something to do with my script attribute resolver attribute Definition?
<AttributeDefinition
id="dnFromCert"
xsi:type="ScriptedAttribute">
<Script><![CDATA[
pubCreds = subjects[0].getPrincipals().toArray();
for (var i=0; i<pubCreds.length; i++){
if (pubCreds[i].toString().startsWith("CN=")){
dnFromCert.addValue(pubCreds[i].toString());
}
break;
}
]]></Script>
</AttributeDefinition>
Strangely, it worked when I showed the results of it in uapprove...
More information about the users
mailing list