Class com.ibm.ws.security.jwt.utils.JwtDataTest

2

tests

0

failures

0

ignored

0.275s

duration

100%

successful

Tests

Test Duration Result
testConstructor 0.002s passed
testSignerIncludesCorrectKeyTypeForJWT 0.273s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@dbfb6c9e
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               NO256
                                                                                                               RS256
                                                                                                               [RS256, RS384, RS512, HS256, HS384, HS512, ES256, ES384, ES512]
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               unknown algorithm
                                                                                                               RS256
                                                                                                               [RS256, RS384, RS512, HS256, HS384, HS512, ES256, ES384, ES512]
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@dbfb6c9e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@dbfb6c9e
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
Entering test: testConstructor
Exiting test: testConstructor
Entering test: testSignerIncludesCorrectKeyTypeForJWT
decoded header: {"typ":"JWT","alg":"none"}
Exiting test: testSignerIncludesCorrectKeyTypeForJWT

-- System.err -------------------------------------------------
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

-- Messages -------------------------------------------------
[02/05/2024, 05:26:10:411 BST] 00000001 SystemOut                                                    O Entering test: testConstructor
[02/05/2024, 05:26:10:412 BST] 00000001 SystemOut                                                    O Exiting test: testConstructor
[02/05/2024, 05:26:10:413 BST] 00000001 SystemOut                                                    O Entering test: testSignerIncludesCorrectKeyTypeForJWT
[02/05/2024, 05:26:10:421 BST] 00000001 SystemErr                                                    R SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[02/05/2024, 05:26:10:421 BST] 00000001 SystemErr                                                    R SLF4J: Defaulting to no-operation (NOP) logger implementation
[02/05/2024, 05:26:10:422 BST] 00000001 SystemErr                                                    R SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[02/05/2024, 05:26:10:685 BST] 00000001 SystemOut                                                    O decoded header: {"typ":"JWT","alg":"none"}
[02/05/2024, 05:26:10:685 BST] 00000001 SystemOut                                                    O Exiting test: testSignerIncludesCorrectKeyTypeForJWT

-- Trace -------------------------------------------------
[02/05/2024, 05:26:10:411 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: testConstructor
[02/05/2024, 05:26:10:412 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: testConstructor
[02/05/2024, 05:26:10:413 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: testSignerIncludesCorrectKeyTypeForJWT
[02/05/2024, 05:26:10:421 BST] 00000001 id=00000000 SystemErr                                                    R SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[02/05/2024, 05:26:10:421 BST] 00000001 id=00000000 SystemErr                                                    R SLF4J: Defaulting to no-operation (NOP) logger implementation
[02/05/2024, 05:26:10:422 BST] 00000001 id=00000000 SystemErr                                                    R SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[02/05/2024, 05:26:10:685 BST] 00000001 id=00000000 SystemOut                                                    O decoded header: {"typ":"JWT","alg":"none"}
[02/05/2024, 05:26:10:685 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: testSignerIncludesCorrectKeyTypeForJWT