Class com.ibm.ws.security.openidconnect.clients.common.UserInfoHelperTest

17

tests

0

failures

0

ignored

0.049s

duration

100%

successful

Tests

Test Duration Result
testExtractClaimsFromJwtResponse_jweMalformed 0.004s passed
testExtractClaimsFromJwtResponse_jwsMalformed 0.001s passed
testExtractClaimsFromJwtResponse_notJwt 0.001s passed
testExtractClaimsFromJwtResponse_responseStringEmpty 0s passed
testExtractClaimsFromResponse_emptyJson 0.001s passed
testExtractClaimsFromResponse_emptyString 0.005s passed
testExtractClaimsFromResponse_missingContentType 0.006s passed
testExtractClaimsFromResponse_notJson 0.001s passed
testExtractClaimsFromResponse_responseMissingEntity 0.007s passed
testExtractClaimsFromResponse_validNonEmptyJson 0.001s passed
testExtractClaimsFromResponse_validNonEmptyJson_contentTypeJwt 0.013s passed
testGetUserInfoSubClaim 0s passed
testRetrieveInvalidInfo 0.002s passed
testRetrieveNoSujbectFromIdToken 0.002s passed
testRetrieveValidInfo 0.003s passed
testWillRetrieveUserInfoNeg1 0.001s 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@63c1f043
[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@63c1f043
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@63c1f043
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------

Standard error

[ERROR   ] CWWKS1541E: The back-channel logout request sent to [/oidcclient/backchannel_logout/myClient] encountered an error. CWWKS1542E: The back-channel logout request is not valid because the logout_token parameter is missing or empty.
[ERROR   ] CWWKS1778E: The token requested by [client01] failed validation because the signature is missing from the token. The signatureAlgorithm attribute for the OpenID Connect client is set to [HS256]. This signature algorithm setting requires a signature.
[ERROR   ] CWWKS1751E: Validation failed for the ID token requested by [client01] because the (iss) issuer [https://localhost/oidc/provider/NOPE] specified in the token does not match the [issuerIdentifier] attribute [https://localhost/oidc/provider/OP] for the provider specified in the OpenID Connect client configuration. Check the issuerIdentifier attribute on the client configuration.
[ERROR   ] CWWKS1738E: The OpenID Connect client [clientId] failed to authenticate the JSON Web Token because the claim [user_name] specified by the [userIdentifier] configuration attribute was not included in the token.
[ERROR   ] CWWKS1738E: The OpenID Connect client [clientId] failed to authenticate the JSON Web Token because the claim [user_another] specified by the [userIdentifier] configuration attribute was not included in the token.
[ERROR   ] CWWKS1738E: The OpenID Connect client [clientId] failed to authenticate the JSON Web Token because the claim [user_another] specified by the [userIdentifier] configuration attribute was not included in the token.
[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":"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].
[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].