wiseman
  1. wiseman
  2. WISEMAN-133

HttpClient.setUseApacheCommonsHttpClient() ignored

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: transfer
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      133

      Description

      It appears that the class com.sun.ws.management.transport.HttpClient ignores the
      setting of the “setUseApacheCommonsHttpClient� method. Examination of the code
      indicates that it will only deal with the java.net.Authenticator class; a flawed
      authentication implementation. The java.net.Authenticator class, which should
      be an interface, uses the method signature “protected final String
      getRequestingScheme()� which prohibits the use of authentication schemes other
      then those hard-coded in the JVM. The Apahce Commons HttpClient will, according
      to its documentation, respond to non-standard scheme requests which are
      pre-registered by the local implementation.

      Is this something that is going to be corrected or are you trying to phase out
      the possibility of replacing your transport layer with the Commons HttpClient
      package?

        Activity

        Hide
        simeonpinder added a comment -

        The plan is to modify the HttpClient to support alternative connection apis like
        the Apache Commons HttpClient. The method that you encountered is part of that
        effort but was not completed due to lack of resources. This will be resolved
        before the next release.

        Show
        simeonpinder added a comment - The plan is to modify the HttpClient to support alternative connection apis like the Apache Commons HttpClient. The method that you encountered is part of that effort but was not completed due to lack of resources. This will be resolved before the next release.

          People

          • Assignee:
            simeonpinder
            Reporter:
            stephen_m_barrett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: