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

49

tests

0

failures

0

ignored

0.089s

duration

100%

successful

Tests

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