Class com.ibm.ws.security.jwt.internal.BuilderImplTest

8

tests

0

failures

0

ignored

0.008s

duration

100%

successful

Tests

Test Duration Result
test_encryptWith_goldenPath 0.001s passed
test_encryptWith_nonDefaltKeyManagementAlg 0.003s passed
test_encryptWith_nonDefaultContentEncryptionAlg 0.001s passed
test_encryptWith_nullContentEncryptionAlg 0s passed
test_encryptWith_nullKeyManagementAlg 0.002s passed
test_encryptWith_nullKeyManagementKey 0s passed
test_encryptWith_unknownContentEncryptionAlg 0s passed
test_encryptWith_unknownKeyManagementAlg 0.001s 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: test_encryptWith_nullKeyManagementAlg
Exiting test: test_encryptWith_nullKeyManagementAlg
Entering test: test_encryptWith_unknownKeyManagementAlg
Exiting test: test_encryptWith_unknownKeyManagementAlg
Entering test: test_encryptWith_nonDefaltKeyManagementAlg
Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
Entering test: test_encryptWith_nullKeyManagementKey
Exiting test: test_encryptWith_nullKeyManagementKey
Entering test: test_encryptWith_nullContentEncryptionAlg
Exiting test: test_encryptWith_nullContentEncryptionAlg
Entering test: test_encryptWith_unknownContentEncryptionAlg
Exiting test: test_encryptWith_unknownContentEncryptionAlg
Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
Entering test: test_encryptWith_goldenPath
Exiting test: test_encryptWith_goldenPath

-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[09/02/2021, 12:17:13:851 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementAlg
[09/02/2021, 12:17:13:853 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementAlg
[09/02/2021, 12:17:13:853 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_unknownKeyManagementAlg
[09/02/2021, 12:17:13:854 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_unknownKeyManagementAlg
[09/02/2021, 12:17:13:854 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nonDefaltKeyManagementAlg
[09/02/2021, 12:17:13:857 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
[09/02/2021, 12:17:13:857 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementKey
[09/02/2021, 12:17:13:857 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementKey
[09/02/2021, 12:17:13:858 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nullContentEncryptionAlg
[09/02/2021, 12:17:13:858 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nullContentEncryptionAlg
[09/02/2021, 12:17:13:859 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_unknownContentEncryptionAlg
[09/02/2021, 12:17:13:859 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_unknownContentEncryptionAlg
[09/02/2021, 12:17:13:860 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
[09/02/2021, 12:17:13:860 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
[09/02/2021, 12:17:13:860 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_goldenPath
[09/02/2021, 12:17:13:861 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_goldenPath

-- Trace -------------------------------------------------
[09/02/2021, 12:17:13:851 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementAlg
[09/02/2021, 12:17:13:853 GMT] 00000015 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 Null or empty key management algorithm provided; defaulting to RSA-OAEP
[09/02/2021, 12:17:13:853 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementAlg
[09/02/2021, 12:17:13:853 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_unknownKeyManagementAlg
[09/02/2021, 12:17:13:854 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_unknownKeyManagementAlg
[09/02/2021, 12:17:13:854 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nonDefaltKeyManagementAlg
[09/02/2021, 12:17:13:857 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
[09/02/2021, 12:17:13:857 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementKey
[09/02/2021, 12:17:13:857 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementKey
[09/02/2021, 12:17:13:858 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullContentEncryptionAlg
[09/02/2021, 12:17:13:858 GMT] 00000015 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 Null or empty content encryption algorithm provided; defaulting to A256GCM
[09/02/2021, 12:17:13:858 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullContentEncryptionAlg
[09/02/2021, 12:17:13:859 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_unknownContentEncryptionAlg
[09/02/2021, 12:17:13:859 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_unknownContentEncryptionAlg
[09/02/2021, 12:17:13:860 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
[09/02/2021, 12:17:13:860 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
[09/02/2021, 12:17:13:860 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_goldenPath
[09/02/2021, 12:17:13:861 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_goldenPath