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

4

tests

0

failures

0

ignored

0.010s

duration

100%

successful

Tests

Test Duration Result
constructor_nullArgs 0.009s passed
constructor_validArgs 0s passed
toString_fullClaimsMap 0.001s passed
toString_nullMembers 0s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@81adafe9
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@81adafe9
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@81adafe9
    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 -------------------------------------------------
[04/09/2023, 13:15:50:251 BST] 00000001 SystemOut                                                    O Entering test: constructor_nullArgs
[04/09/2023, 13:15:50:260 BST] 00000001 SystemOut                                                    O Exiting test: constructor_nullArgs
[04/09/2023, 13:15:50:261 BST] 00000001 SystemOut                                                    O Entering test: constructor_validArgs
[04/09/2023, 13:15:50:261 BST] 00000001 SystemOut                                                    O Exiting test: constructor_validArgs
[04/09/2023, 13:15:50:261 BST] 00000001 SystemOut                                                    O Entering test: toString_nullMembers
[04/09/2023, 13:15:50:261 BST] 00000001 SystemOut                                                    O Exiting test: toString_nullMembers
[04/09/2023, 13:15:50:262 BST] 00000001 SystemOut                                                    O Entering test: toString_fullClaimsMap
[04/09/2023, 13:15:50:263 BST] 00000001 SystemOut                                                    O Exiting test: toString_fullClaimsMap

-- Trace -------------------------------------------------
[04/09/2023, 13:15:50:251 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: constructor_nullArgs
[04/09/2023, 13:15:50:260 BST] 00000001 id=00000000 .security.openidconnect.client.jose4j.util.OidcTokenImplBase 3 Provided token type is null; defaulting to IDToken
[04/09/2023, 13:15:50:260 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: constructor_nullArgs
[04/09/2023, 13:15:50:261 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: constructor_validArgs
[04/09/2023, 13:15:50:261 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: constructor_validArgs
[04/09/2023, 13:15:50:261 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: toString_nullMembers
[04/09/2023, 13:15:50:261 BST] 00000001 id=00000000 .security.openidconnect.client.jose4j.util.OidcTokenImplBase 3 Provided token type is null; defaulting to IDToken
[04/09/2023, 13:15:50:261 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: toString_nullMembers
[04/09/2023, 13:15:50:262 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: toString_fullClaimsMap
[04/09/2023, 13:15:50:263 BST] 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.