Class com.ibm.ws.security.openidconnect.client.jose4j.util.Jose4jUtilTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
testGetVerifyKey_getKeyFromJwkUrl | 0.012s | passed |
testGetVerifyKey_nullJwkEndpointUrl | 0.004s | passed |
testGetVerifyKey_signatureAlgorithmNone | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_emptyJwt_nullKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_emptyJwt_withKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_jwe_nullKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_jwe_withKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_jws_nullKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_jws_withKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_nullJwt_nullKeyAlias | 0.001s | passed |
test_checkJwtFormatAgainstConfigRequirements_nullJwt_withKeyAlias | 0s | passed |
test_getIdToken_emptyTokens_doNotUseAccessToken | 0.001s | passed |
test_getIdToken_emptyTokens_useAccessToken | 0s | passed |
test_getIdToken_idTokenValueEmpty | 0s | passed |
test_getIdToken_idTokenValueNull_doNotUseAccessToken | 0.001s | passed |
test_getIdToken_idTokenValueNull_useAccessToken | 0.001s | passed |
test_getIdToken_idTokenValueNull_useAccessToken_missingAccessToken | 0.001s | passed |
test_getIdToken_missingIdToken_doNotUseAccessToken | 0.001s | passed |
test_getIdToken_missingIdToken_useAccessToken | 0.001s | passed |
test_getIdToken_missingIdToken_useAccessToken_missingAccessToken | 0s | passed |
test_getIdToken_nullTokens | 0.001s | passed |
test_useAccessTokenAsIdToken_false | 0s | passed |
test_useAccessTokenAsIdToken_true | 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@4bf68df2 registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@4bf68df2 captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@4bf68df2 TrConfigZapper.zapTrConfig : finished invoke init() SharedOutputManager captured the following: -- System.out ------------------------------------------------- -- System.err ------------------------------------------------- -- Messages ------------------------------------------------- -- Trace -------------------------------------------------
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.