-
Notifications
You must be signed in to change notification settings - Fork 6k
Closes #13754 Add hasScope and hasAnyScope for authorization rules #13769
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
Closes #13754 Add hasScope and hasAnyScope for authorization rules #13769
Conversation
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.
Thanks, @petrovskimario! I've left some feedback inline.
Also, even though the functionality here is straightforward, will you please add a Tests
class that confirms they work as expected? That way they can be changed in the future with confidence.
...src/main/java/org/springframework/security/oauth2/core/ScopeAuthorizationManagerFactory.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/springframework/security/oauth2/core/ScopeAuthorizationManagerFactory.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/springframework/security/oauth2/core/ScopeAuthorizationManagerFactory.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/springframework/security/oauth2/core/ScopeAuthorizationManagerFactory.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/springframework/security/oauth2/core/ScopeAuthorizationManagerFactory.java
Outdated
Show resolved
Hide resolved
Hello @jzheaux Thank you for your suggestions. Please review and let me know if something can be improved. |
Thanks, @petrovskimario! This is now merged into |
No description provided.