EDS maxPreferredIdPs and <div> idpSelectPreferredIdPTile
Scott Koranda
skoranda at gmail.com
Thu Feb 25 10:25:44 EST 2016
Hi,
My EDS 1.1.0 deployment uses the default value of maxPreferredIdPs = 3.
When I set preferredIdP to an array containing 3 IdP entityIDs the
resulting idPSelectPreferredIdPTile <div> only contains 2 child <div>s of
class IdPSelectPreferredIdPButton.
I expected 3.
I see that the getPreferredIdPs function includes this:
if(null != preferredIdP){
for(i=0; i < preferredIdP.length && i < maxPreferredIdPs-1;
i++){
idps[i] = getIdPFor(preferredIdP[i]);
offset++;
}
}
Is 'maxPreferredIdPs - 1 ' correct?
When I remove "-1" I get the result I expect, 3 child <div>s.
Thanks,
Scott K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160225/1786dea3/attachment-0001.html>
More information about the dev
mailing list