Class com.ibm.ws.security.social.internal.GithubLoginConfigImplTest

49

tests

0

failures

0

ignored

0.080s

duration

100%

successful

Tests

Test Duration Result
defaultJwtBuilder 0s passed
getAuthFilter 0.002s passed
getAuthFilter_configMissingAuthFilterRef 0.001s passed
getContextRoot_default 0s passed
getContextRoot_setToNull 0s passed
getPrivateKey_noServices 0.001s passed
getPrivateKey_noSocialLoginService 0.008s passed
getPrivateKey_throwsException 0.002s passed
getPublicKey_noServices 0.002s passed
getPublicKey_noSocialLoginService 0.002s passed
getPublicKey_throwsException 0.002s passed
getPublicKeys_noSocialLoginService 0.002s passed
getPublicKeys_successful 0.002s passed
getPublicKeys_throwsSocialLoginException 0.002s passed
getRequiredSerializableProtectedStringConfigAttribute_emptyProps 0.008s passed
getRequiredSerializableProtectedStringConfigAttribute_missingKey 0.001s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_plaintext 0s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_valueEmpty 0s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_valueWhitespace 0.001s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_xor 0s passed
getSocialLoginCookieCache 0.002s passed
getUniqueId 0.008s passed
getUniqueId_configMissingUniqueId 0.001s passed
getUserApiResponseIdentifier_userApi_containsEmails 0.001s passed
getUserApiResponseIdentifier_userApi_endsWithEmail 0.001s passed
getUserApiResponseIdentifier_userApi_endsWithEmails 0.001s passed
getUserApiResponseIdentifier_userNameAttribute_containsEmail 0.001s passed
getUserApiResponseIdentifier_userNameAttribute_email 0.008s passed
getUserApis 0.001s passed
getUserApis_configMissingUserApi 0.001s passed
getUserApis_userApiWithDelimiters 0.001s passed
handleJwtElement_emptyProps 0s passed
handleJwtElement_exceptionThrown 0s passed
handleJwtElement_missingKey 0.001s passed
handleJwtElement_nullConfigAdmin 0s passed
handleJwtElement_validConfiguration 0s passed
initProps_emptyProps 0.002s passed
initProps_minimumProps 0.001s passed
initUserApiConfigs_emptyArg 0.001s passed
initUserApiConfigs_nullArg 0.001s passed
initUserApiConfigs_someString 0s passed
initializeJwt_jwtProps_empty 0.002s passed
initializeJwt_jwtProps_null 0.002s passed
initializeJwt_jwtProps_validValues 0.001s passed
initializeJwt_jwtProps_valuesEmpty 0.001s passed
initializeJwt_jwtProps_valuesWhitespace 0.002s passed
initializeJwt_nullJwtConfig 0.002s passed
initializeJwt_uninitialized 0.001s passed
testUseJvmProps 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@7c61691
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@7c61691
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@7c61691
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------

Standard error

[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientSecret] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientSecret] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientSecret] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[ERROR   ] CWWKS5479E: The configuration attribute [clientId] that is required in the social login configuration [null] is missing or empty. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.