Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: OAuth 2.0
    • Labels:
      None
    • Sprint:
      OpenIG Sprint 68, OpenIG Sprint 69

      Description

      In the OAuth2 package, we require sometimes a default ClientHandler.
      This pattern is repeated in 3 classes (ClientRegistration, Issuer and OAuth2clientFilter.)

                  final Handler registrationHandler;
                  if (config.isDefined("registrationHandler")) {
                      registrationHandler = heap.resolve(config.get("registrationHandler"), Handler.class);
                  } else {
                      registrationHandler = new ClientHandler(heap.get(HTTP_CLIENT_HEAP_KEY, HttpClient.class));
                  }
      

      It would be nice if we could create a default client handler like we have a default HttpClient.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                violette Violette Roche Montane
                Reporter:
                violette Violette Roche Montane
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: