Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Digest Authorization Support #6954

Merged
merged 49 commits into from
Jan 30, 2020

Conversation

alzimmermsft
Copy link
Member

Fixes #6109

Digest authorization support is added to Azure Core by AuthorizationChallengeHandler. This class handles responding to Basic and Digest authorization requests and is compliant with RFC 2617 and RFC 7616.

@alzimmermsft alzimmermsft marked this pull request as ready for review January 21, 2020 18:03
@alzimmermsft
Copy link
Member Author

@anuchandy @srnagar @JonathanGiles

Mind reviewing the changes to the licensing file made in the last commit.

@alzimmermsft alzimmermsft merged commit 330106f into Azure:master Jan 30, 2020
@alzimmermsft alzimmermsft deleted the AzCore_AddDigestProxySupport branch January 30, 2020 22:11
srnagar pushed a commit to srnagar/azure-sdk-for-java that referenced this pull request Feb 4, 2020
* Rough idea for Digest Proxy support

* Rough implementation of RFC 2617 and 7616

* Finalize RGC 2617 and RFC 7616 implementation

* Added tests and changes to code structure

* Integrating authentication support into Reactor Netty and OkHttp

* Using channel attributes to pass authorization information

* Support passing proxy authentication header through context

* Fixed incorrect formatting in Proxy-Authorization header, finalized proxy digest authentication support in Reactor Netty

* Adding documentation

* Reverted testing changes in AppConfiguration

* Moved AuthorizationChallengeHandler into util

* Additional tests for AuthorizationChallengeHandler

* Fixed checkstyle issues

* Fixing linting and test issues

* Changes based on PR feedback

* Fix linting issue

* Removed tests that don't have configuration available

* Removed accidental character

* Unit tests for Netty HttpClient

* Fixed invalid name casing

* Additional Netty tests

* Unit tests for OkHttp

* Fixed invalid failing test and removed erroneous dependency

* Renaming classes, updating licensing, and added more tests for authScheme

* Fixed linting issues, synchronizing access to lastChallenge in AuthorizationChallengeHandler

* Fixed linting issue

* Added OkHttp tests for configuration based proxy

* Revert to using AtomicReference

* Updated licensing text to include Netty license

* Add component governance manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core azure-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Digest authenticated proxy
6 participants