Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Methods of SimpleHttp are still too much protected #31708

@mint-lemon-eucalyptus

Description

@mint-lemon-eucalyptus

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

core

Describe the bug

The access levels on methods in org.keycloak.broker.provider.util.SimpleHttp were changed to "protected" in #27656, what makes usage of this class with custom HttpClient impossible. Currently we have an use-case, where we need to use the SimpleHttp with own SocialIdentityProvider, that works over mTLS.

Version

25.0.2

Regression

  • The issue is a regression

Expected behavior

It is possible to pass instance of HttpClient to SimpleHttp

Actual behavior

It is no more possible to pass HttpClient to SimpleHttp, because the methods are marked as protected

How to Reproduce?

Try to use SimpleHttp in an extension together with HttpClient

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions