Searching within the Shibboleth wiki pages (and a workaround)

Max Spicer max.spicer at york.ac.uk
Mon May 23 08:57:47 UTC 2022


Scott's reply to a recent thread (see below) has highlighted one of my
common issues with the wiki. Now that I know
https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631612/LDAPAuthnConfiguration#Advanced-Features
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.

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:
https://jira.atlassian.com/browse/CONFCLOUD-27077.

In the meantime I work around this with a saved bookmarklet that does the
expand:

javascript:(function () { $('div[data-node-type=expand]
button[aria-expanded]').click() }())

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.

I hope that's useful to someone. Please do say if you know a simpler way.

Thanks,

Max Spicer

On Fri, 20 May 2022 at 21:02, Cantor, Scott via users <users at shibboleth.net>
wrote:

> Necroing this, there are a couple of updates regarding these LDAP use
> cases.
>
> 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.
>
> 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.
>
> 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.
>
> I should have realized that and just pointed it out. The crazy wiring
> really isn't required anymore.
>
> -- Scott
>
>
> --
> For Consortium Member technical support, see
> https://shibboleth.atlassian.net/wiki/x/ZYEpPw
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20220523/4e3dded1/attachment.htm>


More information about the users mailing list