Class com.ibm.ws.security.openidconnect.client.jose4j.util.OidcTokenImplBaseTest

4

tests

0

failures

0

ignored

0.019s

duration

100%

successful

Tests

Test Duration Result
constructor_nullArgs 0.017s passed
constructor_validArgs 0s passed
toString_fullClaimsMap 0.001s passed
toString_nullMembers 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@385b7579
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@385b7579
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@385b7579
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
Entering test: constructor_nullArgs
Exiting test: constructor_nullArgs
Entering test: constructor_validArgs
Exiting test: constructor_validArgs
Entering test: toString_nullMembers
Exiting test: toString_nullMembers
Entering test: toString_fullClaimsMap
Exiting test: toString_fullClaimsMap

-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[6/17/24, 17:01:20:982 UTC] 00000001 SystemOut                                                    O Entering test: constructor_nullArgs
[6/17/24, 17:01:20:998 UTC] 00000001 SystemOut                                                    O Exiting test: constructor_nullArgs
[6/17/24, 17:01:20:999 UTC] 00000001 SystemOut                                                    O Entering test: constructor_validArgs
[6/17/24, 17:01:20:999 UTC] 00000001 SystemOut                                                    O Exiting test: constructor_validArgs
[6/17/24, 17:01:21:000 UTC] 00000001 SystemOut                                                    O Entering test: toString_nullMembers
[6/17/24, 17:01:21:000 UTC] 00000001 SystemOut                                                    O Exiting test: toString_nullMembers
[6/17/24, 17:01:21:000 UTC] 00000001 SystemOut                                                    O Entering test: toString_fullClaimsMap
[6/17/24, 17:01:21:001 UTC] 00000001 SystemOut                                                    O Exiting test: toString_fullClaimsMap

-- Trace -------------------------------------------------
[6/17/24, 17:01:20:982 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: constructor_nullArgs
[6/17/24, 17:01:20:998 UTC] 00000001 id=00000000 .security.openidconnect.client.jose4j.util.OidcTokenImplBase 3 Provided token type is null; defaulting to IDToken
[6/17/24, 17:01:20:998 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: constructor_nullArgs
[6/17/24, 17:01:20:999 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: constructor_validArgs
[6/17/24, 17:01:20:999 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: constructor_validArgs
[6/17/24, 17:01:21:000 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: toString_nullMembers
[6/17/24, 17:01:21:000 UTC] 00000001 id=00000000 .security.openidconnect.client.jose4j.util.OidcTokenImplBase 3 Provided token type is null; defaulting to IDToken
[6/17/24, 17:01:21:000 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: toString_nullMembers
[6/17/24, 17:01:21:000 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: toString_fullClaimsMap
[6/17/24, 17:01:21:001 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: toString_fullClaimsMap

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.