Class io.openliberty.security.jakartasec.identitystore.OidcIdentityStoreTest

39

tests

0

failures

0

ignored

0.117s

duration

100%

successful

Tests

Test Duration Result
test_createAccessTokenFromTokenResponse_badjwt 0.004s passed
test_createAccessTokenFromTokenResponse_jwt 0.009s passed
test_createAccessTokenFromTokenResponse_notjwt 0s passed
test_createCredentialValidationResult 0.039s passed
test_createCredentialValidationResult_nullCaller 0.035s passed
test_getCallerGroup_FromClaimsConfig 0.001s passed
test_getCallerGroupsClaim 0.001s passed
test_getCallerGroupsClaim_noClaimConfigured 0.001s passed
test_getCallerGroupsClaim_noClaimsMapping 0.001s passed
test_getCallerGroups_noClaimsMapping 0.002s passed
test_getCallerNameClaim 0.001s passed
test_getCallerNameClaim_noClaimConfigured 0.002s passed
test_getCallerNameClaim_noClaimsMapping 0.001s passed
test_getCallerName_FromClaimsConfig 0.001s passed
test_getCallerName_noClaimsMapping 0.002s passed
test_getClaimFromUserInfo_list 0s passed
test_getClaimFromUserInfo_list_missing 0s passed
test_getClaimFromUserInfo_list_rawString 0s passed
test_getClaimFromUserInfo_list_wrongType 0s passed
test_getClaimFromUserInfo_nullClaims 0s passed
test_getClaimFromUserInfo_string 0s passed
test_getClaimFromUserInfo_string_missing 0s passed
test_getClaimFromUserInfo_string_wrongType 0s passed
test_getClaimFromUserInfo_unsupportedType 0.001s passed
test_getClaimValueFromAccessToken 0.001s passed
test_getClaimValueFromIdToken 0.001s passed
test_getClaimValueFromTokens_list_claimEmptyInAccessToken_claimNonEmptyElsewhere 0.001s passed
test_getClaimValueFromTokens_string_claimInAccessToken 0.001s passed
test_getClaimValueFromTokens_string_claimInIdToken 0.001s passed
test_getClaimValueFromTokens_string_claimInUserInfo 0.002s passed
test_getClaimValueFromTokens_string_claimMissing 0.008s passed
test_valueExistsAndIsNotEmpty_list_empty 0s passed
test_valueExistsAndIsNotEmpty_list_nonEmpty 0s passed
test_valueExistsAndIsNotEmpty_null 0s passed
test_valueExistsAndIsNotEmpty_otherType 0s passed
test_valueExistsAndIsNotEmpty_set_empty 0s passed
test_valueExistsAndIsNotEmpty_set_nonEmpty 0s passed
test_valueExistsAndIsNotEmpty_string_empty 0s passed
test_valueExistsAndIsNotEmpty_string_nonEmpty 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@f22b0f5d
[WARNING ] JAKARTASEC_WARNING_CLAIM_DEF_CONFIG 
                                                                                                               accessTokenExpiryExpression
                                                                                                               #{'blah'.concat('blah')}
                                                                                                               false
[WARNING ] CWWKS2500W: The Expression Language (EL) expression for the extraParametersExpression attribute of the OpenID authentication mechanism definition annotation cannot be resolved to a valid value. The value provided was ''. Ensure that the EL expression and the result are valid and ensure that any referenced beans that are used in the expression are resolvable. The default attribute value of '{2}' is used.
[WARNING ] CWWKS2500W: The Expression Language (EL) expression for the extraParametersExpression attribute of the OpenID authentication mechanism definition annotation cannot be resolved to a valid value. The value provided was ''. Ensure that the EL expression and the result are valid and ensure that any referenced beans that are used in the expression are resolvable. The default attribute value of '{2}' is used.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@f22b0f5d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@f22b0f5d
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------

Standard error

[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.
[ERROR   ] CWWKS2508E: The credential cannot be validated because the caller value is not set. The [preferred_username] caller name claim is null or empty, or a claim with that name cannot be found in the access token, the ID token, or the UserInfo data for the user.