tyrus
  1. tyrus
  2. TYRUS-228

Add client support for HTTP Basic/Digest

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None

      Description

      Some support for generating required headers (user would just set username, password, realm, .. and method (BASIC|DIGEST)). Preemptive authorization might be a good start.

        Issue Links

          Activity

          Pavel Bucek created issue -
          Pavel Bucek made changes -
          Field Original Value New Value
          Link This issue is duplicated by TYRUS-303 [ TYRUS-303 ]
          Ondrej Kosatka made changes -
          Assignee Ondrej Kosatka [ ondrejkosatka ]
          Hide
          Siva added a comment -

          Authentication and Authorization are very much important for enterprise applications and we can not give any exceptions for those features for any network interfacing applications.
          looking forward to see easy to configure built in API to enable Authentication with SSO, Basic etc...
          This will improve Tyrus usage in security critical applications.

          Show
          Siva added a comment - Authentication and Authorization are very much important for enterprise applications and we can not give any exceptions for those features for any network interfacing applications. looking forward to see easy to configure built in API to enable Authentication with SSO, Basic etc... This will improve Tyrus usage in security critical applications.
          Hide
          Shinta. added a comment -

          Our proxy requires Digest authentication scheme.
          I hope that this issue is resolved.

          Show
          Shinta. added a comment - Our proxy requires Digest authentication scheme. I hope that this issue is resolved.
          Hide
          Pavel Bucek added a comment -

          Hi Shinta.

          This issue is not resolved yet and even when it will be, it won't help with the proxy authentication. We have different issue filed about that (please see https://java.net/jira/browse/TYRUS-204). Tyrus client currently provides access to headers which will be sent in a request which is used for connection to the proxy and any auth header can be added this way.

          We plan to extend functionality from this issue (when it is done) to the one with proxies, but it won't be done as part of this task.

          Regards,
          Pavel

          Show
          Pavel Bucek added a comment - Hi Shinta. This issue is not resolved yet and even when it will be, it won't help with the proxy authentication. We have different issue filed about that (please see https://java.net/jira/browse/TYRUS-204 ). Tyrus client currently provides access to headers which will be sent in a request which is used for connection to the proxy and any auth header can be added this way. We plan to extend functionality from this issue (when it is done) to the one with proxies, but it won't be done as part of this task. Regards, Pavel
          Hide
          Shinta. added a comment -

          Thank you for your reply.
          I'll make sure of other issue(https://java.net/jira/browse/TYRUS-204).

          Show
          Shinta. added a comment - Thank you for your reply. I'll make sure of other issue( https://java.net/jira/browse/TYRUS-204 ).
          Hide
          Ondrej Kosatka added a comment - - edited

          BASIC and DIGEST authentication schemes has been implemented, but it is also possible to implement user-defined authenticator and register it with a configuration builder.

          commit fe0c0575279a58995b8730bc5f264cf63bde2467
          commit df310939cc23c75fe971c522825abd2a61d5d0a8

          Show
          Ondrej Kosatka added a comment - - edited BASIC and DIGEST authentication schemes has been implemented, but it is also possible to implement user-defined authenticator and register it with a configuration builder. commit fe0c0575279a58995b8730bc5f264cf63bde2467 commit df310939cc23c75fe971c522825abd2a61d5d0a8
          Ondrej Kosatka made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8 [ 16966 ]
          Fix Version/s 1.x-backlog [ 16081 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Ondrej Kosatka
              Reporter:
              Pavel Bucek
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: