-
Notifications
You must be signed in to change notification settings - Fork 438
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
feat: Introduce pluggable authentication providers. #624
base: master
Are you sure you want to change the base?
Commits on Oct 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f9d62aa - Browse repository at this point
Copy the full SHA f9d62aaView commit details
Commits on Oct 14, 2017
-
refactor: Simplify state machine states.
This merges the `SENT_LOGIN7_WITH_STANDARD_LOGIN`, `SENT_LOGIN7_WITH_NTLM` and `SENT_NTLM_RESPONSE` states into a single `SENT_LOGIN7` state.
Configuration menu - View commit details
-
Copy full SHA for f985bf9 - Browse repository at this point
Copy the full SHA f985bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6d9b92 - Browse repository at this point
Copy the full SHA b6d9b92View commit details -
Configuration menu - View commit details
-
Copy full SHA for de12fa2 - Browse repository at this point
Copy the full SHA de12fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 408ecb8 - Browse repository at this point
Copy the full SHA 408ecb8View commit details -
fix: Improve domain and workstation handling in the NTLM auth provider.
Both domain and workstation are optional according to the MS-NLMP specification, so we should not require a domain to be given. This should improve/ease the use of NTLM auth with Azure SQL Server.
Configuration menu - View commit details
-
Copy full SHA for 2027aa3 - Browse repository at this point
Copy the full SHA 2027aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680cfd6 - Browse repository at this point
Copy the full SHA 680cfd6View commit details -
refactor: Rename the "SSPI" auth provider to "native".
SSPI is the interface name / API that's used for all authentication providers.. "native" is a more fitting name because it depends on the operating system's native APIs to provide security support.
Configuration menu - View commit details
-
Copy full SHA for 534d789 - Browse repository at this point
Copy the full SHA 534d789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85db9e6 - Browse repository at this point
Copy the full SHA 85db9e6View commit details
Commits on Oct 17, 2017
-
Suraiya Hameed committed
Oct 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 3d22897 - Browse repository at this point
Copy the full SHA 3d22897View commit details -
refactor: removing authProvider specific options
Suraiya Hameed committedOct 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 7908ef6 - Browse repository at this point
Copy the full SHA 7908ef6View commit details
Commits on Oct 18, 2017
-
Suraiya Hameed committed
Oct 18, 2017 Configuration menu - View commit details
-
Copy full SHA for 41c0118 - Browse repository at this point
Copy the full SHA 41c0118View commit details -
refactor: update tests to use connection options
Suraiya Hameed committedOct 18, 2017 Configuration menu - View commit details
-
Copy full SHA for e3f4839 - Browse repository at this point
Copy the full SHA e3f4839View commit details
Commits on Oct 21, 2017
-
Suraiya Hameed committed
Oct 21, 2017 Configuration menu - View commit details
-
Copy full SHA for f236c50 - Browse repository at this point
Copy the full SHA f236c50View commit details -
feature: Bring back auth provider specific configuration options.
Each auth provider can have different configuration options, and by keeping them specific to each provider, we can make sure the list of options that can be passed to the tedious constructor does not grow any larger than it already is. Also remove the native auth provider specific `securityPackage` option.
Configuration menu - View commit details
-
Copy full SHA for 80f7e64 - Browse repository at this point
Copy the full SHA 80f7e64View commit details -
Configuration menu - View commit details
-
Copy full SHA for e953f6a - Browse repository at this point
Copy the full SHA e953f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf8757c - Browse repository at this point
Copy the full SHA cf8757cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f52e0b - Browse repository at this point
Copy the full SHA 1f52e0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b5c2d3 - Browse repository at this point
Copy the full SHA 0b5c2d3View commit details
Commits on Oct 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 00b95a3 - Browse repository at this point
Copy the full SHA 00b95a3View commit details -
test: Remove NTLM specific tests from the SSPI token tests.
This logic is already covered by the NTLM auth provider tests.
Configuration menu - View commit details
-
Copy full SHA for 701ce82 - Browse repository at this point
Copy the full SHA 701ce82View commit details -
refactor: Rename
ntlmpacketBuffer
tosspiBuffer
.This buffer is used for all SSPI authentication types, not just for NTLM.
Configuration menu - View commit details
-
Copy full SHA for 220ce7b - Browse repository at this point
Copy the full SHA 220ce7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d520d58 - Browse repository at this point
Copy the full SHA d520d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51c9b2b - Browse repository at this point
Copy the full SHA 51c9b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53085e4 - Browse repository at this point
Copy the full SHA 53085e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ee955 - Browse repository at this point
Copy the full SHA 83ee955View commit details -
refactor: Remove
sspiClientResponsePending
check.We only perform handshaking after receiving a message, and no further TDS messages should be received during the handshake, so there is no need to do an explicit check in the auth provider.
Configuration menu - View commit details
-
Copy full SHA for 38ed20f - Browse repository at this point
Copy the full SHA 38ed20fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc29b0c - Browse repository at this point
Copy the full SHA bc29b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b8107 - Browse repository at this point
Copy the full SHA b1b8107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9812a83 - Browse repository at this point
Copy the full SHA 9812a83View commit details -
fix: Do not send username and password via LOGIN7 when a domain is set.
This fixes a potentially security relevant issue where `tedious` would send username and password in plaintext via the LOGIN7 token, even if the `domain` option was specified and the credentials were sent as hashes via NTLM as well.
Configuration menu - View commit details
-
Copy full SHA for 168b845 - Browse repository at this point
Copy the full SHA 168b845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3179b45 - Browse repository at this point
Copy the full SHA 3179b45View commit details
Commits on Oct 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7a83616 - Browse repository at this point
Copy the full SHA 7a83616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e723c1 - Browse repository at this point
Copy the full SHA 1e723c1View commit details -
feat: Automatically use the native auth provider.
When no username and password are specified, and the native auth provider is supported, `tedious` will now use it automatically.
Configuration menu - View commit details
-
Copy full SHA for 9f8e637 - Browse repository at this point
Copy the full SHA 9f8e637View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1c69c7 - Browse repository at this point
Copy the full SHA f1c69c7View commit details -
Revert "feat: Automatically use the native auth provider."
This reverts commit 9f8e637.
Configuration menu - View commit details
-
Copy full SHA for 2ad7601 - Browse repository at this point
Copy the full SHA 2ad7601View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef9b6e - Browse repository at this point
Copy the full SHA 1ef9b6eView commit details
Commits on Nov 5, 2017
-
Merge branch 'master' of github.com:tediousjs/tedious into arthur/plu…
…ggable-auth-providers
Configuration menu - View commit details
-
Copy full SHA for 281a74e - Browse repository at this point
Copy the full SHA 281a74eView commit details
Commits on Nov 6, 2017
-
Merge branch 'master' of github.com:tediousjs/tedious into arthur/plu…
…ggable-auth-providers
Configuration menu - View commit details
-
Copy full SHA for c1d3227 - Browse repository at this point
Copy the full SHA c1d3227View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12b43e - Browse repository at this point
Copy the full SHA a12b43eView commit details
Commits on May 29, 2018
-
Merge branch 'master' of github.com:tediousjs/tedious into arthur/plu…
…ggable-auth-providers
Configuration menu - View commit details
-
Copy full SHA for b2e8c37 - Browse repository at this point
Copy the full SHA b2e8c37View commit details
Commits on Jul 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 905ed6d - Browse repository at this point
Copy the full SHA 905ed6dView commit details