-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add method to authorize native query using authentication result #14376
Conversation
* @param authenticationResult authentication result indicating identity of the requester | ||
* @return authorization result of requester | ||
*/ | ||
public Access authorize(AuthenticationResult authenticationResult) |
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.
Please include some unit tests for this new method, in case it's called directly.
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.
I have updated the existing tests for authorize(HttpServletRequest)
to also test this method.
…ult (apache#14376)" This reverts commit 8b212e7.
No description provided.