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

add support for NTLM authentication #2343

Merged
merged 2 commits into from
Jun 22, 2023
Merged

Conversation

dvargas46
Copy link
Contributor

Description

This adds support for NTLM authentication through the ApacheHttpClient implementation. It takes advantage of the default AuthSchemeRegistry that the builder creates when none is supplied, which includes support for NTLM. And so, supplying the NT credentials and target auth scheme will activate it within the http client from the config.

Unfortunately, the tests are quite limited since a true test would require an environment with an LDAP setup and a system configured with NTLM auth. I couldn't find anything readily available to support that, so I have only included a test for configuring NTLM within a Karate script and tested it against a valid NTLM system within my org locally.

  • Relevant Issues : NTLM support for Karate #372
  • Relevant PRs : N/A
  • Type of change :
    • New feature
    • Bug fix for existing feature
    • Code quality improvement
    • Addition or Improvement of tests
    • Addition or Improvement of documentation

README.md Show resolved Hide resolved
@ptrthomas ptrthomas merged commit f3304c5 into karatelabs:develop Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants