Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /mappings /java /verifiable_token_based_authentication /mosip_esignet.json
| { | |
| "role_mappings": [ | |
| { | |
| "role": "Subject", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "The caller of GET /oidc/userinfo (relying-party client sending the Bearer/DPoP access token) is outside the repo; only the api-test rig (test code) calls it, which does not count." | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "status": "present", | |
| "symbol": "getUserInfo", | |
| "file": "oidc-service-impl/src/main/java/io/mosip/esignet/services/OpenIdConnectServiceImpl.java", | |
| "lines": "47", | |
| "notes": "Reached from OpenIdConnectController.getUserInfo (esignet-service/.../controllers/OpenIdConnectController.java:34-35), which passes the Authorization header. getUserInfo in OpenIdConnectServiceImpl extracts the bearer token, calls tokenService.verifyAccessToken (line 61) and throws NotAuthenticatedException (401) on failure before returning user info; Spring security filters are explicitly ignored for /oidc/userinfo (SecurityConfig.java:117) and DpopValidationFilter only checks header format/DPoP binding." | |
| }, | |
| { | |
| "role": "Verifier", | |
| "status": "present", | |
| "symbol": "verifyAccessToken", | |
| "file": "oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java", | |
| "lines": "223", | |
| "notes": "Called from getUserInfo at OpenIdConnectServiceImpl.java:61. verifyAccessToken in TokenServiceImpl checks the signature via isSignatureValid (line 322) and then verifies aud/iss/sub/exp claims with Nimbus DefaultJWTClaimsVerifier, throwing NotAuthenticatedException on failure. Caveat: the enforcer also looks up the transaction by access-token hash in cache (stateful hybrid)." | |
| }, | |
| { | |
| "role": "Key manager", | |
| "status": "external", | |
| "symbol": "jwtVerify", | |
| "file": "oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java", | |
| "lines": "327", | |
| "notes": "Reached from verifyAccessToken (TokenServiceImpl.java:224) via isSignatureValid, which sets applicationId OIDC_SERVICE (line 324) and calls MOSIP kernel SignatureService.jwtVerify; the kernel keymanager resolves the OIDC_SERVICE verification key/certificate inside that call. One library call covers both Key manager and Cryptographer." | |
| }, | |
| { | |
| "role": "Cryptographer", | |
| "status": "external", | |
| "symbol": "jwtVerify", | |
| "file": "oidc-service-impl/src/main/java/io/mosip/esignet/services/TokenServiceImpl.java", | |
| "lines": "327", | |
| "notes": "Reached from verifyAccessToken (TokenServiceImpl.java:224) through the thin wrapper isSignatureValid (line 322). MOSIP kernel SignatureService.jwtVerify (io.mosip.kernel.signature.service.SignatureService, imported at line 29) verifies the JWS signature; the same call also fetches the key (Key manager)." | |
| }, | |
| { | |
| "role": "System", | |
| "status": "present", | |
| "symbol": "processUserInfoResponse", | |
| "file": "oidc-service-impl/src/main/java/io/mosip/esignet/services/UserInfoResponseHelper.java", | |
| "lines": "55", | |
| "notes": "Called by the Enforcer getUserInfo at OpenIdConnectServiceImpl.java:63 only after verifyAccessToken succeeds; it builds the (signed/encrypted) userinfo response for the authenticated transaction." | |
| } | |
| ] | |
| } | |
Xet Storage Details
- Size:
- 3.27 kB
- Xet hash:
- fa663dd6f5b3bcec6af6ea544085bc9bec0618ee21119eb34e33990667ad3fe4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.