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

Change to wrong password test #1

Open
wants to merge 5 commits into
base: livetest-simplify-lang
Choose a base branch
from

Conversation

bostko
Copy link
Owner

@bostko bostko commented May 14, 2017

FIrst test doesn't work even in version 0.3.5
testAuthSuccessAndFail fails when using NTLM

http://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

@bostko bostko force-pushed the change-password branch from ee2b593 to efd2f87 Compare May 14, 2017 11:28
@bostko bostko changed the title Change password doesn't work even in version 0.3.5 Change to wrong password doesn't work even in version 0.3.5 May 14, 2017
@bostko bostko changed the title Change to wrong password doesn't work even in version 0.3.5 Change to wrong password test May 14, 2017
neykov added 2 commits May 15, 2017 09:02
private static final Logger LOG = Logger.getLogger(WinRmChangePassword.class.getName());

@Test(groups="Live")
public void testAuthSuccessAndFail() throws Exception {
Copy link

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.

Copy link

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.

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