<div dir="ltr"><div dir="ltr"><div>Scott's reply to a recent thread (see below) has highlighted one of my common issues with the wiki. Now that I know <a href="https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631612/LDAPAuthnConfiguration#Advanced-Features">https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631612/LDAPAuthnConfiguration#Advanced-Features</a> contains an example of chaining validators together, I want to go to that page and find the example. I would normally follow the link, hit ctrl-f and start to type "chain" to search within the page. Unfortunately this fails as the relevant section is collapsed by default. The same applies if you search the wiki (or Google) for "chaining ldap validators" and then try to find the relevant section on the page. I often ended up having to manually expand every section, which can be rather tiresome.</div><div><br></div><div>It seems that this is a long standing issue with Confluence's Expand macros that doesn't yet have a solution. However, a PM did post in February this year that they hope to start working on one: <a href="https://jira.atlassian.com/browse/CONFCLOUD-27077">https://jira.atlassian.com/browse/CONFCLOUD-27077</a>.</div><div><br></div><div>In the meantime I work around this with a saved bookmarklet that does the expand:<br><br><font face="monospace">javascript:(function () { $('div[data-node-type=expand] button[aria-expanded]').click() }())</font><br></div><div><br></div><div>I've added a bookmark to my Bookmarks Bar with the above as the URL and called it Expand. I can now click the bookmark to toggle all the collapsed sections on the current page.</div><div><br></div><div>I hope that's useful to someone. Please do say if you know a simpler way.</div><div><br></div><div>Thanks,</div><div><br></div><div>Max Spicer</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 20 May 2022 at 21:02, Cantor, Scott via users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Necroing this, there are a couple of updates regarding these LDAP use cases.<br>
<br>
Daniel did some work to recover the full example XML needed to do this the "old" way and the V4 page is updated a bit with those changes, at least in part.<br>
<br>
However, he also pointed out the obvious (that I clearly just didn't even pick up on), which is that these aggregated "multiple branches, multiple directories, etc.) use cases are not really meant to be handled anymore by making the single validator do these really complex things.<br>
<br>
You just have to define different LDAPCredentialValidator beans that use different LDAP configurations, either different base DNs, or different bind strategies, or whatever is going on. Chaining them together is trivial now  and there are examples showing how to do that in the earlier part of the page.<br>
<br>
I should have realized that and just pointed it out. The crazy wiring really isn't required anymore.<br>
<br>
-- Scott<br>
<br>
<br>
-- <br>
For Consortium Member technical support, see <a href="https://shibboleth.atlassian.net/wiki/x/ZYEpPw" rel="noreferrer" target="_blank">https://shibboleth.atlassian.net/wiki/x/ZYEpPw</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a></blockquote></div></div>