-
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
Change to wrong password test #1
base: livetest-simplify-lang
Are you sure you want to change the base?
Conversation
Update links in live test Javadoc
Simplify WinRmTool creation in livetest
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder whether it can be fixed in the http client library, but in any case we need to work around it in Brooklyn.
FIrst test doesn't work even in version 0.3.5
testAuthSuccessAndFail
fails 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