[JIRA] (IDP-1898) LDAP authen pool idp.pool.LDAP.validateOnCheckout exposes errors to end-users

Vladimir Mencl (Jira) jira at shibboleth.atlassian.net
Wed Jan 19 00:55:18 UTC 2022


Vladimir Mencl ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A9e33c654-fa34-43c9-a1c1-fcc1c32d3528 ) *commented* on IDP-1898 ( https://shibboleth.atlassian.net/browse/IDP-1898?atlOrigin=eyJpIjoiYjIxNjAyNzFmZTM2NGVjZDgyMTdhNjkyYTc4NmVhOWIiLCJwIjoiaiJ9 )

Re: LDAP authen pool idp.pool.LDAP.validateOnCheckout exposes errors to end-users ( https://shibboleth.atlassian.net/browse/IDP-1898?atlOrigin=eyJpIjoiYjIxNjAyNzFmZTM2NGVjZDgyMTdhNjkyYTc4NmVhOWIiLCJwIjoiaiJ9 )

Thanks for the reply, Scott.

Agree endless retry would not be the best option.

What I would see as sensible in this case (all connections in the pool are open to a server that has gone dead) would be to:
1. Keep trying with other connections from the pool
2. After these are exhausted, try establishing one new connection based on the current connection strategy.
3. If that fails as well, report an error.

Alternatively, it could be:

* if a connection from the pool fails, try replacing it with a NEW connection - and if that fails, report an error.

Would either of these sound sensible to you?

Cheers,
Vlad

( https://shibboleth.atlassian.net/browse/IDP-1898#add-comment?atlOrigin=eyJpIjoiYjIxNjAyNzFmZTM2NGVjZDgyMTdhNjkyYTc4NmVhOWIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1898#add-comment?atlOrigin=eyJpIjoiYjIxNjAyNzFmZTM2NGVjZDgyMTdhNjkyYTc4NmVhOWIiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100188- sha1:935ca08 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220119/991e02ed/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-2d54d66a-6b49-495b-bed2-883730171f84
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220119/991e02ed/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-aaa28574-4e0a-41b5-9777-81b43977f874
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220119/991e02ed/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-97a39d13-31c5-43e7-9f7b-5ef2e152aae4
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220119/991e02ed/attachment-0005.png>


More information about the commits mailing list