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

2

tests

0

failures

0

ignored

0.139s

duration

100%

successful

Tests

Test Duration Result
testConstructor 0.002s passed
testSignerIncludesCorrectKeyTypeForJWT 0.137s passed

Standard output

[WARNING ] CWWKS6055W: The [test_getSignatureAlgorithm_betaDisabled_betaAlgorithm] configuration specifies the ES256 signature algorithm, but that algorithm is only available in the beta edition. The RS256 signature algorithm is used instead.
[WARNING ] CWWKS6055W: The [test_getSignatureAlgorithm_betaDisabled_betaAlgorithm_callMethodTwice] configuration specifies the ES256 signature algorithm, but that algorithm is only available in the beta edition. The RS256 signature algorithm is used instead.
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               NO256
                                                                                                               RS256
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               unknown algorithm
                                                                                                               RS256
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 -------------------------------------------------
[13/01/2021, 16:17:22:870 GMT] 00000015 SystemOut                                                    O Entering test: testConstructor
[13/01/2021, 16:17:22:872 GMT] 00000015 SystemOut                                                    O Exiting test: testConstructor
[13/01/2021, 16:17:22:872 GMT] 00000015 SystemOut                                                    O Entering test: testSignerIncludesCorrectKeyTypeForJWT
[13/01/2021, 16:17:22:878 GMT] 00000015 SystemErr                                                    R SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[13/01/2021, 16:17:22:879 GMT] 00000015 SystemErr                                                    R SLF4J: Defaulting to no-operation (NOP) logger implementation
[13/01/2021, 16:17:22:879 GMT] 00000015 SystemErr                                                    R SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[13/01/2021, 16:17:23:008 GMT] 00000015 SystemOut                                                    O decoded header: {"typ":"JWT","alg":"none"}
[13/01/2021, 16:17:23:008 GMT] 00000015 SystemOut                                                    O Exiting test: testSignerIncludesCorrectKeyTypeForJWT

-- Trace -------------------------------------------------
[13/01/2021, 16:17:22:870 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testConstructor
[13/01/2021, 16:17:22:872 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testConstructor
[13/01/2021, 16:17:22:872 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testSignerIncludesCorrectKeyTypeForJWT
[13/01/2021, 16:17:22:878 GMT] 00000015 id=00000000 SystemErr                                                    R SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[13/01/2021, 16:17:22:879 GMT] 00000015 id=00000000 SystemErr                                                    R SLF4J: Defaulting to no-operation (NOP) logger implementation
[13/01/2021, 16:17:22:879 GMT] 00000015 id=00000000 SystemErr                                                    R SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[13/01/2021, 16:17:23:008 GMT] 00000015 id=00000000 SystemOut                                                    O decoded header: {"typ":"JWT","alg":"none"}
[13/01/2021, 16:17:23:008 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testSignerIncludesCorrectKeyTypeForJWT