-
Notifications
You must be signed in to change notification settings - Fork 6k
getClaimAsBoolean() should not be falsy #10356
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
Conversation
7cf869f
to
c086bd2
Compare
@sjohnr sorry for additional changes, but I have updated implementation according to this comment:
Now |
@qavid thanks, that's totally fine. I was waiting for that PR to get reviewed first. I'll circle back to this one soon, hopefully. |
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.
HI @qavid, just one suggestion below. Once that change is made, is this ready to merge?
...2/oauth2-core/src/test/java/org/springframework/security/oauth2/core/ClaimAccessorTests.java
Outdated
Show resolved
Hide resolved
Thanks @qavid, this is now in |
Closes gh-10148
Note that
OAuth2TokenIntrospectionClaimAccessor#isActive
will now throw NPE ifactive
claim value isnull
.