Class com.ibm.ws.security.openidconnect.pkce.ProofKeyForCodeExchangeHelperTest
Tests
Test |
Duration |
Result |
test_generateAndAddPkceParametersToAuthzRequest_S256 |
0.001s |
passed |
test_generateAndAddPkceParametersToAuthzRequest_plain |
0.006s |
passed |
test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod |
0.003s |
passed |
Standard output
TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@cb3547a6
[WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [nonce] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored.
[WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope, redirect_uri] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored.
[WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [redirect_uri, client_id] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored.
[WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored.
[WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope, nonce] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored.
[WARNING ] CWWKS1783W: The OpenID Connect client [myConfig] includes [scope, redirect_uri] in the values that are specified by the [forwardLoginParameter] configuration attribute. The specified values will be ignored.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@cb3547a6
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@cb3547a6
TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following:
-- System.out -------------------------------------------------
Entering test: test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod
Exiting test: test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod
Entering test: test_generateAndAddPkceParametersToAuthzRequest_plain
Exiting test: test_generateAndAddPkceParametersToAuthzRequest_plain
Entering test: test_generateAndAddPkceParametersToAuthzRequest_S256
Exiting test: test_generateAndAddPkceParametersToAuthzRequest_S256
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[25/05/2024, 13:24:36:525 BST] 00000001 SystemOut O Entering test: test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod
[25/05/2024, 13:24:36:527 BST] 00000001 SystemOut O Exiting test: test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod
[25/05/2024, 13:24:36:528 BST] 00000001 SystemOut O Entering test: test_generateAndAddPkceParametersToAuthzRequest_plain
[25/05/2024, 13:24:36:533 BST] 00000001 SystemOut O Exiting test: test_generateAndAddPkceParametersToAuthzRequest_plain
[25/05/2024, 13:24:36:534 BST] 00000001 SystemOut O Entering test: test_generateAndAddPkceParametersToAuthzRequest_S256
[25/05/2024, 13:24:36:535 BST] 00000001 SystemOut O Exiting test: test_generateAndAddPkceParametersToAuthzRequest_S256
-- Trace -------------------------------------------------
[25/05/2024, 13:24:36:525 BST] 00000001 id=00000000 SystemOut O Entering test: test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod
[25/05/2024, 13:24:36:527 BST] 00000001 id=00000000 SystemOut O Exiting test: test_generateAndAddPkceParametersToAuthzRequest_unknownChallengeMethod
[25/05/2024, 13:24:36:528 BST] 00000001 id=00000000 SystemOut O Entering test: test_generateAndAddPkceParametersToAuthzRequest_plain
[25/05/2024, 13:24:36:533 BST] 00000001 id=00000000 SystemOut O Exiting test: test_generateAndAddPkceParametersToAuthzRequest_plain
[25/05/2024, 13:24:36:534 BST] 00000001 id=00000000 SystemOut O Entering test: test_generateAndAddPkceParametersToAuthzRequest_S256
[25/05/2024, 13:24:36:535 BST] 00000001 id=00000000 SystemOut O Exiting test: test_generateAndAddPkceParametersToAuthzRequest_S256
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.
[ERROR ] CWWKS1749E: The User Info data [{"sub":"bogususer","iss":"https:superfoo","name":"bogususer"}] is invalid because the sub claim does not match the sub claim of the ID Token [testuser].
[ERROR ] CWWKS1749E: The User Info data [{"sub":"testuser","iss":"https:superfoo","name":"testuser"}] is invalid because the sub claim does not match the sub claim of the ID Token [null].