Class com.ibm.ws.security.openidconnect.client.jose4j.util.Jose4jUtilTest

40

tests

0

failures

0

ignored

0.095s

duration

100%

successful

Tests

Test Duration Result
testGetClaim_fromAllTokens_nullClaimMap 0.005s passed
testGetGroupIds_Single_fromIdToken 0.001s passed
testGetGroups_fromAccessToken 0.001s passed
testGetGroups_fromIdToken 0.002s passed
testGetGroups_fromUserInfo 0.001s passed
testGetRealmName_fromAccessToken 0.001s passed
testGetRealmName_fromIdToken 0.001s passed
testGetRealmName_fromUserInfo 0.001s passed
testGetUniqueSecurityName_fromAccessToken 0.001s passed
testGetUniqueSecurityName_fromIdToken 0.001s passed
testGetUniqueSecurityName_fromUserInfo 0.001s passed
testGetUserName_fromAccessToken 0.002s passed
testGetUserName_fromAllTokens_missingClaim 0.002s passed
testGetUserName_fromIdToken 0.016s passed
testGetUserName_fromIdToken_missingClaim 0.002s passed
testGetUserName_fromIdToken_usingTokenOrder 0.002s passed
testGetUserName_fromUserInfo 0.001s passed
testGetVerifyKey_getKeyFromJwkUrl 0.016s passed
testGetVerifyKey_nullJwkEndpointUrl 0.004s passed
testGetVerifyKey_signatureAlgorithmNone 0.002s passed
test_checkJwtFormatAgainstConfigRequirements_emptyJwt_nullKeyAlias 0.001s passed
test_checkJwtFormatAgainstConfigRequirements_emptyJwt_withKeyAlias 0.003s 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.002s passed
test_checkJwtFormatAgainstConfigRequirements_nullJwt_nullKeyAlias 0.007s passed
test_checkJwtFormatAgainstConfigRequirements_nullJwt_withKeyAlias 0.002s passed
test_getIdToken_emptyTokens_doNotUseAccessToken 0.001s passed
test_getIdToken_emptyTokens_useAccessToken 0.001s passed
test_getIdToken_idTokenValueEmpty 0.007s passed
test_getIdToken_idTokenValueNull_doNotUseAccessToken 0.001s passed
test_getIdToken_idTokenValueNull_useAccessToken 0.001s passed
test_getIdToken_idTokenValueNull_useAccessToken_missingAccessToken 0s passed
test_getIdToken_missingIdToken_doNotUseAccessToken 0.001s passed
test_getIdToken_missingIdToken_useAccessToken 0s passed
test_getIdToken_missingIdToken_useAccessToken_missingAccessToken 0s passed
test_getIdToken_nullTokens 0s passed
test_useAccessTokenAsIdToken_false 0.001s passed
test_useAccessTokenAsIdToken_true 0.001s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@f042892b
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@f042892b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@f042892b
    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.
[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_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   ] 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.