[JIRA] (JOIDC-78) Wrong JSONObject type when decoding claims from Signed JAR Authentication request
Simone Avogadro (Jira)
jira at shibboleth.atlassian.net
Wed Mar 9 22:14:58 UTC 2022
Simone Avogadro ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A60a84ee1-4961-471b-99d8-f67c05e24403 ) *commented* on JOIDC-78 ( https://shibboleth.atlassian.net/browse/JOIDC-78?atlOrigin=eyJpIjoiMjg4NjU4Njk5YjY1NGVlYzk2YjBlMDk2NjVmNTEzYTAiLCJwIjoiaiJ9 )
Re: Wrong JSONObject type when decoding claims from Signed JAR Authentication request ( https://shibboleth.atlassian.net/browse/JOIDC-78?atlOrigin=eyJpIjoiMjg4NjU4Njk5YjY1NGVlYzk2YjBlMDk2NjVmNTEzYTAiLCJwIjoiaiJ9 )
more on this
the class does
import net.minidev.json.JSONObject;
whereas the claims are extracted as:
claims = getRequestObject().getJWTClaimsSet().getClaim( "claims" )
.getJWTClaimsSet() returns an object of type org.nimbus.jwt.JWTClaimsSet thus it might make sens that these object return com.nimbusds…JSONObject rather then net.minidev.json.JSONObject
( https://shibboleth.atlassian.net/browse/JOIDC-78#add-comment?atlOrigin=eyJpIjoiMjg4NjU4Njk5YjY1NGVlYzk2YjBlMDk2NjVmNTEzYTAiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-78#add-comment?atlOrigin=eyJpIjoiMjg4NjU4Njk5YjY1NGVlYzk2YjBlMDk2NjVmNTEzYTAiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100196- sha1:dfd693a )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220309/0c9c79b9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-18f2a1e4-ddba-4000-af70-0c77c72278b7
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220309/0c9c79b9/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-43164c16-c32b-4c9e-aada-60ee003e9c92
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220309/0c9c79b9/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-56ce698d-f3b5-4715-bfaa-476503f536b1
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220309/0c9c79b9/attachment-0005.png>
More information about the commits
mailing list