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

45

tests

0

failures

0

ignored

0.168s

duration

100%

successful

Tests

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