Class com.ibm.ws.security.social.web.utils.SocialWebUtilsTest

37

tests

0

failures

0

ignored

0.058s

duration

100%

successful

Tests

Test Duration Result
createJavaScriptForRedirect 0.002s passed
doClientSideRedirect 0.005s passed
getAndClearCookie 0.002s passed
getAndClearCookie_cookieDoesNotExist 0.001s passed
getRequestUrlWithEncodedQueryString_nullQueryString 0.002s passed
getRequestUrlWithEncodedQueryString_withQueryString 0.005s passed
getUrlEncodedParameterAndValues_noValue 0s passed
getUrlEncodedParameterAndValues_withMultipleValue 0.001s passed
getUrlEncodedParameterAndValues_withOneValue 0.001s passed
getUrlEncodedParameterAndValues_withOneValue_specialChars 0.001s passed
getUrlEncodedQueryStringFromParameterMap_multipleParams 0.001s passed
getUrlEncodedQueryStringFromParameterMap_noParams 0.001s passed
getUrlEncodedQueryStringFromParameterMap_oneParams 0.001s passed
getUrlEncodedQueryString_noParams 0.005s passed
getUrlEncodedQueryString_withParams 0.002s passed
test_createExpiredCookie_gttpOnly_secure 0.001s passed
test_createExpiredCookie_notHttpOnly_notSecure 0.001s passed
test_deleteCookie 0.002s passed
test_getLoginHintFromCookie_emptyHintCookie 0.001s passed
test_getLoginHintFromCookie_hintCookiePartialNameMatch 0.001s passed
test_getLoginHintFromCookie_noCookies 0.001s passed
test_getLoginHintFromCookie_noHintCookie 0.001s passed
test_getLoginHintFromCookie_nonEmptyHintCookie 0.001s passed
test_getLoginHintFromCookie_nullCookies 0.001s passed
test_getLoginHintFromHeader_empty 0.001s passed
test_getLoginHintFromHeader_nonEmpty 0.001s passed
test_getLoginHintFromHeader_null 0.001s passed
test_getLoginHintFromParameter_empty 0.001s passed
test_getLoginHintFromParameter_nonEmpty 0.001s passed
test_getLoginHintFromParameter_null 0.002s passed
test_getLoginHint_hintInCookie 0.002s passed
test_getLoginHint_hintInHeader 0.002s passed
test_getLoginHint_hintInParameter 0.001s passed
test_getLoginHint_hintNotFound 0s passed
test_removeRequestUrlAndParameters_postDataInCookie 0.002s passed
test_removeRequestUrlAndParameters_postDataNotInCookie 0.002s passed
test_saveRequestUrlAndParameters 0.002s passed

Standard output

[WARNING ] CWWKS5416W: The outgoing request to [https://www.example.com/oauth/authorize] might not succeed because the [client_id] parameter is missing or empty.
[WARNING ] CWWKS5460W: There are no user API configurations specified for the social login configuration [myUniqueId].
[WARNING ] CWWKS5376W: The value for the [accessTokenHeaderName] attribute in the social login configuration [myUniqueId] indicates that an access token is expected to be found in the [My Header] request header. However, a token cannot be found in that header.
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------

Standard error

[ERROR   ] CWWKS5447E: The request cannot be redirected to the authorization endpoint that is configured for the social login configuration [facebookLogin]. This is an exception message.
[ERROR   ] CWWKS5447E: The request cannot be redirected to the authorization endpoint that is configured for the social login configuration [facebookLogin]. This is an exception message.
[ERROR   ] CWWKS5454E: The social login feature cannot create a subject for the user with the provided authorization code using social login configuration [facebookLogin]. This is an exception message.
[ERROR   ] CWWKS5450E: The request cannot invoke the token endpoint because an error occurred while retrieving SSL information for the social login configuration [myUniqueId]. This is an exception message.
[ERROR   ] CWWKS5451E: The social login feature encountered a problem while obtaining token information from the token endpoint that is configured for the social login configuration [myUniqueId]. This is an exception message.
[ERROR   ] CWWKS5452E: The social login feature cannot authenticate the user because the response from the user API that is configured for the social login configuration [myUniqueId] is null or empty.
[ERROR   ] CWWKS5452E: The social login feature cannot authenticate the user because the response from the user API that is configured for the social login configuration [myUniqueId] is null or empty.
[ERROR   ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [myUniqueId]. This is an exception message.
[ERROR   ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [myUniqueId]. This is an exception message.
[ERROR   ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [myUniqueId]. This is an exception message.
[ERROR   ] 
[ERROR   ] 
[ERROR   ] This is an exception message.
[ERROR   ] CWWKS5407I: The Social Login Version 1.0 endpoint service is activated.
[ERROR   ] CWWKS5488W: The provided value [Some insert] contains at least one character that cannot be included in a valid URI.
[ERROR   ] CWWKS5453E: The social login feature encountered a problem while creating a JSON Web Token (JWT) from the provided access token for the social login configuration [twitterLogin]. This is an exception message.
[ERROR   ] CWWKS5437E: The social login feature cannot create a subject for the user by using Twitter profile information and social login configuration [twitterLogin]. This is an exception message.
[ERROR   ] CWWKS5437E: The social login feature cannot create a subject for the user by using Twitter profile information and social login configuration [twitterLogin]. This is an exception message.
[ERROR   ] CWWKS5435E: The user name could not be extracted from the token that was obtained from the social media platform.
[ERROR   ] CWWKS5455E: The social login feature cannot authenticate user [John Q. Doe] because an access token cannot be found.
[ERROR   ] CWWKS5436E: The realm could not be extracted from the token that was obtained from the social media platform.
[ERROR   ] CWWKS5436E: The realm could not be extracted from the token that was obtained from the social media platform.
[ERROR   ] This is an exception message.
[ERROR   ] CWWKS5436E: The realm could not be extracted from the token that was obtained from the social media platform.
[ERROR   ] This is an exception message.