-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Restructure NegotiateAuthentication implementation #87930
Merged
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4d6eb5e
Change NegotiateAuthentication implementation to use indirection thro…
filipnavara 229b1af
Unify impersonation level validation between Windows and Unix pllatforms
filipnavara 73b143c
Split managed NTLM and managed SPNEGO implementations; add UseManaged…
filipnavara b5836a4
Remove debug cruft
filipnavara 4142cfa
Fix couple of errors in managed SPNEGO
filipnavara b1a879a
Remove debug print
filipnavara f082fcd
Fix message sequence in managed NTLM; remove unused method
filipnavara 665cb21
Fix fallbacks on macOS GSSAPI
filipnavara 6c04170
Cleanup and fallbacks for missing NTLM, GSSAPI
filipnavara 1324d77
Adjust tests to assume that NTLM is always available on Unix
filipnavara 87d0c56
Don't claim NTLM support on Browser
filipnavara 0c707c4
Revert "Don't claim NTLM support on Browser"
filipnavara 91d7ce2
Attempt to fix the browser tests
filipnavara e7fc8b5
Revert "Attempt to fix the browser tests"
filipnavara 86d72dc
Browser test suppression
filipnavara ee6b728
Respect UseManagedNtlm=false on platforms without NTLM GSSAPI provider
filipnavara 29f19fd
Merge remote-tracking branch 'origin/main' into NegotiateAuthenticati…
filipnavara e5ebc07
Update src/libraries/System.Net.Security/src/System/Net/NegotiateAuth…
filipnavara c58d44e
Merge branch 'main' into NegotiateAuthenticationPal
filipnavara aa22b0a
Revert all the fallback code paths, System.Net.Security.UseManagedNtl…
filipnavara a69e95a
Merge remote-tracking branch 'origin/main' into NegotiateAuthenticati…
filipnavara File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
115 changes: 0 additions & 115 deletions
115
src/libraries/Common/src/System/Net/Security/Unix/SafeDeleteNegoContext.cs
This file was deleted.
Oops, something went wrong.
81 changes: 0 additions & 81 deletions
81
src/libraries/Common/src/System/Net/Security/Unix/SafeFreeNegoCredentials.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the property at all? Or keep it for future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that depends on the answer in #87930 (comment). In any case I would not remove it as part of this PR, it would be separate change. Mainly there's a concern about Windows with NTLM disabled, so there would still be use for it.