Unable to set basic credentials while using HTTP Connector
Cantor, Scott
cantor.2 at osu.edu
Wed Jun 23 13:00:58 UTC 2021
On 6/23/21, 3:37 AM, "users on behalf of Claude Libois" <users-bounces at shibboleth.net on behalf of clibois.work at gmail.com> wrote:
> Is there something else to do to have basic authentication working with http connector ?
No. I use the setBasicCredentialsWithScope variant, which takes more wiring work to set up, but it's conceptually the same internally, just means it uses the credentials with any host and port. Same objects are wired up in the end.
Note that like most clients, it doesn't volunteer the credentials, it expects to get a 403 back to challenge it. It takes more wiring again to get the client to skip that, which I do for efficiency, I don't like extra round trips.
My How To includes the wiring I use. [1]
-- Scott
[1] https://wiki.shibboleth.net/confluence/display/KB/Grouper+Integration+Example
More information about the users
mailing list