Class com.ibm.ws.security.openidconnect.backchannellogout.internal.LogoutTokenValidatorTest

56

tests

0

failures

0

ignored

0.427s

duration

100%

successful

Tests

Test Duration Result
test_findSessionMatchingIssAndNonNullSid_multipleSessions_sidDoesNotMatch 0.002s passed
test_findSessionMatchingIssAndNonNullSid_multipleSessions_sidMatch_issDoesNotMatch 0.001s passed
test_findSessionMatchingIssAndNonNullSid_multipleSessions_sidMatch_issMatches 0.001s passed
test_findSessionMatchingIssAndNonNullSid_noSessions 0.001s passed
test_findSessionMatchingIssAndNonNullSid_oneSession_issDoesNotMatch 0.001s passed
test_findSessionMatchingIssAndNonNullSid_oneSession_issMatches 0.001s passed
test_findSessionMatchingIssAndNonNullSid_oneSession_sidDoesNotMatch 0.001s passed
test_findSessionMatchingIssAndSid_sidNotNull 0.001s passed
test_findSessionMatchingIssAndSid_sidNull 0.001s passed
test_findSessionMatchingOnlyIss_multipleSessions_issMatches 0.001s passed
test_findSessionMatchingOnlyIss_multipleSessions_noIssMatches 0.001s passed
test_findSessionMatchingOnlyIss_noSessions 0s passed
test_findSessionMatchingOnlyIss_oneSession_issDoesNotMatch 0.001s passed
test_findSessionMatchingOnlyIss_oneSession_issMatches 0.003s passed
test_validateToken_emptyString 0.002s passed
test_validateToken_hs256_emptyClaims 0.003s passed
test_validateToken_hs256_keyMismatch 0.206s passed
test_validateToken_hs256_minimumClaims 0.004s passed
test_validateToken_jweRequired_jwsFormat 0.002s passed
test_validateToken_jwsRequired_jweFormat 0.002s passed
test_validateToken_jwsUnsigned_configAlgHs256 0.039s passed
test_validateToken_jwsUnsigned_configAlgNone_emptyClaims 0.003s passed
test_validateToken_jwsUnsigned_minimumClaims 0.049s passed
test_validateToken_notAJwt 0.002s passed
test_validateToken_nullString 0.049s passed
test_verifyAllRequiredClaimsArePresent_emptyClaims 0.001s passed
test_verifyAllRequiredClaimsArePresent_missingAud 0.001s passed
test_verifyAllRequiredClaimsArePresent_missingEvents 0.001s passed
test_verifyAllRequiredClaimsArePresent_missingExp 0.003s passed
test_verifyAllRequiredClaimsArePresent_missingIat 0.001s passed
test_verifyAllRequiredClaimsArePresent_missingIss 0.001s passed
test_verifyAllRequiredClaimsArePresent_missingJti 0.002s passed
test_verifyAllRequiredClaimsArePresent_valid 0.001s passed
test_verifyEventsClaim_memberValueWrongType 0.001s passed
test_verifyEventsClaim_missingRequiredMember 0.002s passed
test_verifyEventsClaim_valid 0.001s passed
test_verifyEventsClaim_wrongType 0.003s passed
test_verifyIssAudIatExpClaims_badAud 0.002s passed
test_verifyIssAudIatExpClaims_badIss 0.004s passed
test_verifyNonceClaimNotPresent_noncePresent 0.001s passed
test_verifyNonceClaimNotPresent_valid 0.001s passed
test_verifySidClaimMatchesRecentSession_malformedSid 0.001s passed
test_verifySidClaimMatchesRecentSession_noCachedSessions 0.002s passed
test_verifySidClaimMatchesRecentSession_sidFound 0.002s passed
test_verifySidClaimMatchesRecentSession_sidMissing 0.001s passed
test_verifySidClaimMatchesRecentSession_sidNotFoundInCache 0.002s passed
test_verifySubAndOrSidPresent_hasSidMissingSub 0.001s passed
test_verifySubAndOrSidPresent_hasSubMissingSid 0.002s passed
test_verifySubAndOrSidPresent_missingSubAndSid 0.001s passed
test_verifySubAndSidClaimsMatchRecentSession_issuerDoesNotMatch 0.002s passed
test_verifySubAndSidClaimsMatchRecentSession_issuerMatches 0.002s passed
test_verifySubClaimMatchesRecentSession_subNotFoundInCache 0.002s passed
test_verifyTokenWithSameJtiNotRecentlyReceived_differentJti 0.002s passed
test_verifyTokenWithSameJtiNotRecentlyReceived_malformedJti 0.001s passed
test_verifyTokenWithSameJtiNotRecentlyReceived_missingJti 0.001s passed
test_verifyTokenWithSameJtiNotRecentlyReceived_reusedJti 0.002s passed

Standard output

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