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

SEC-1900: Fixed by removing dependency to equals method in SimpleGrantedAuthority #2

Closed
wants to merge 1 commit into from

Conversation

chilmers
Copy link
Contributor

Made the role comparision be performed on sets of (role) strings instead of comparing any given implementation of GrantedAuthority with SimpleGrantedAuthority. I.e. the ifAllGranted code is no longer dependent on the implementation of the equals method in SimpleGrantedAuthorization.

…nstead of comparing any given implementation of GrantedAuthority with SimpleGrantedAuthority. I.e. the ifAllGranted code is no longer dependent on the implementation of the equals method in SimpleGrantedAuthorization.
@rwinch
Copy link
Member

rwinch commented Apr 23, 2012

Thank you for the pull request. I realize this patch was probably attempting to make as few changes as possible. However, I would prefer to not have unnecessary conversions as done in the submitted patch. Therefore I have pushed a modified version of your pull request.

@rwinch rwinch closed this Apr 23, 2012
@chilmers
Copy link
Contributor Author

Thanks!

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