Change to wrong password test#1
Open
bostko wants to merge 5 commits into
Open
Conversation
Update links in live test Javadoc
Simplify WinRmTool creation in livetest
neykov
reviewed
May 15, 2017
| private static final Logger LOG = Logger.getLogger(WinRmChangePassword.class.getName()); | ||
|
|
||
| @Test(groups="Live") | ||
| public void testAuthSuccessAndFail() throws Exception { |
There was a problem hiding this comment.
This will always fail with NTLM auth when reusing the context. The problem is with Brooklyn which should create a new context for the new set of credentials.
There was a problem hiding this comment.
Wonder whether it can be fixed in the http client library, but in any case we need to work around it in Brooklyn.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
FIrst test doesn't work even in version 0.3.5
testAuthSuccessAndFailfails when using NTLMhttp://cxf.547215.n5.nabble.com/NTLM-Authentication-being-cached-td5741310.html
BTW I see some commits are made for NTLM changes which might fix the problem https://github.com/apache/httpclient/commits/trunk?after=8a1b96bfa75382c0b94d70f6914fbb9bfeb0451e+69