Class com.ibm.ws.security.openidconnect.clients.common.UserInfoHelperTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
testExtractClaimsFromJwtResponse_jweMalformed | 0.004s | passed |
testExtractClaimsFromJwtResponse_jwsMalformed | 0.010s | passed |
testExtractClaimsFromJwtResponse_notJwt | 0s | passed |
testExtractClaimsFromJwtResponse_responseStringEmpty | 0.001s | passed |
testExtractClaimsFromResponse_emptyJson | 0.001s | passed |
testExtractClaimsFromResponse_emptyString | 0.002s | passed |
testExtractClaimsFromResponse_missingContentType | 0s | passed |
testExtractClaimsFromResponse_notJson | 0s | passed |
testExtractClaimsFromResponse_responseMissingEntity | 0s | passed |
testExtractClaimsFromResponse_validNonEmptyJson | 0s | passed |
testExtractClaimsFromResponse_validNonEmptyJson_contentTypeJwt | 0.008s | passed |
testGetUserInfoSubClaim | 0s | passed |
testRetrieveInvalidInfo | 0.001s | passed |
testRetrieveNoSujbectFromIdToken | 0.001s | passed |
testRetrieveValidInfo | 0.002s | passed |
testWillRetrieveUserInfoNeg1 | 0s | passed |
testWillRetrieveUserInfoNeg2 | 0.001s | passed |
Standard output
TrConfigZapper.zapTrConfig : start invoke init() init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@46c65d15 [WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [nonce] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored. [WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope, redirect_uri] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored. [WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [redirect_uri, client_id] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored. [WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored. [WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope, nonce] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored. [WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope, redirect_uri] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored. registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@46c65d15 captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@46c65d15 TrConfigZapper.zapTrConfig : finished invoke init() SharedOutputManager captured the following: -- System.out ------------------------------------------------- -- System.err ------------------------------------------------- -- Messages ------------------------------------------------- -- Trace -------------------------------------------------
Standard error
[ERROR ] CWWKS1749E: The User Info data [{"sub":"bogususer","iss":"https:superfoo","name":"bogususer"}] is invalid because the sub claim does not match the sub claim of the ID Token [testuser]. [ERROR ] CWWKS1749E: The User Info data [{"sub":"bogususer","iss":"https:superfoo","name":"bogususer"}] is invalid because the sub claim does not match the sub claim of the ID Token [testuser]. [ERROR ] CWWKS1749E: The User Info data [{"sub":"bogususer","iss":"https:superfoo","name":"bogususer"}] is invalid because the sub claim does not match the sub claim of the ID Token [testuser]. [ERROR ] CWWKS1749E: The User Info data [{"sub":"testuser","iss":"https:superfoo","name":"testuser"}] is invalid because the sub claim does not match the sub claim of the ID Token [null]. [ERROR ] CWWKS1749E: The User Info data [{"sub":"testuser","iss":"https:superfoo","name":"testuser"}] is invalid because the sub claim does not match the sub claim of the ID Token [null]. [ERROR ] CWWKS1749E: The User Info data [{"sub":"testuser","iss":"https:superfoo","name":"testuser"}] is invalid because the sub claim does not match the sub claim of the ID Token [null].