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

Added toString method to allow user to be logged in Tomcat #136

Merged
merged 2 commits into from
Aug 28, 2014

Conversation

tbenbrahim
Copy link

When using the NegotiateSecurityFilter, the logged in user cannot be logged in Tomcat using the (Extended)AccessLogValve. There are a couple of objects in the session that could be logged (but not remote user, it is only available in the wrapped request), if they exposed a toString method. This adds a toString method to WindowsPrincipal, so that the authenticated user can be logged with x-S(waffle.servlet.NegotiateSecurityFilter.PRINCIPAL) using the ExtendedAccessLogValve or %{waffle.servlet.NegotiateSecurityFilter.PRINCIPAL}s using the AccessLogValve.

@dblock
Copy link
Collaborator

dblock commented Aug 24, 2014

This needs a test and an entry in CHANGELOG, please.

@tbenbrahim
Copy link
Author

This is done, please let me know if I need to change anything else. Thanks

@dblock
Copy link
Collaborator

dblock commented Aug 28, 2014

Looks good, thanks.

dblock added a commit that referenced this pull request Aug 28, 2014
Added toString method to allow user to be logged in Tomcat
@dblock dblock merged commit f3bc7b8 into Waffle:master Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

None yet

2 participants