-
Notifications
You must be signed in to change notification settings - Fork 0
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
Preemptive Authentication POC #4
Conversation
Signed-off-by: Guian Gumpac <[email protected]>
Signed-off-by: Guian Gumpac <[email protected]>
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.
Update docs to include new parameter in the connection string
src/main/java/org/opensearch/jdbc/transport/http/ApacheHttpTransport.java
Show resolved
Hide resolved
return httpClient.execute(request); | ||
} catch (IOException e) { | ||
} catch (IOException | AuthenticationException e) { |
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.
What was happening without catching AuthenticationException
?
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.
Compilation error because of new BasicScheme().authenticate()
.
Signed-off-by: Guian Gumpac <[email protected]>
Description
Created a new driver connection property to set preemptive authentication to work with SAML authentication. Authentication is set to non-preemptive by default and can be changed by setting
usePreemptiveAuth
totrue
.Issues Resolved
opensearch-project#28
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.