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

[issue #203] Catch Win32Exception and make 401 #206

Merged
merged 2 commits into from
Apr 11, 2015

Conversation

hazendaz
Copy link
Member

A fix to capture tomcat 6, 7, and 8 negotiate authenticator
Win32Exception which started occurring around June 2015 per issue #107.
Around that time Exception was switched out for IOException which
allowed Win32Exception to occur. Now catch that and perform same
actions as IOException. Left original unit tests capturing fall through
and added new check as this shows Negotiate, NTLM where the comma was
normally expected to be a space. This does fix the condition but I'm
not 100% certain this is correct from unit test side.

A fix to capture tomcat 6, 7, and 8 negotiate authenticator
Win32Exception which started occurring around June 2015 per issue #107.
Around that time Exception was switched out for IOException which
allowed Win32Exception to occur.  Now catch that and perform same
actions as IOException.  Left original unit tests capturing fall through
and added new check as this shows Negotiate, NTLM where the comma was
normally expected to be a space.  This does fix the condition but I'm
not 100% certain this is correct from unit test side.
@dblock
Copy link
Collaborator

dblock commented Mar 31, 2015

This is good. CHANGELOG? Feel free to merge after.

@dblock
Copy link
Collaborator

dblock commented Mar 31, 2015

It would be nice if the UT could be more predictable, like for example that the 401 is actually produced. But it's ok if it's not easy to do.

hazendaz added a commit that referenced this pull request Apr 11, 2015
[issue #203] Catch Win32Exception and make 401
@hazendaz hazendaz merged commit 0d0c605 into Waffle:master Apr 11, 2015
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