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

45

tests

0

failures

0

ignored

0.173s

duration

100%

successful

Tests

Test Duration Result
alwaysRunsTest 0.002s passed
defaultJwtBuilder 0s passed
getAuthFilter 0.003s passed
getAuthFilter_configMissingAuthFilterRef 0.003s passed
getContextRoot_default 0.003s passed
getContextRoot_setToNull 0.001s passed
getPrivateKey_noServices 0.003s passed
getPrivateKey_noSocialLoginService 0.004s passed
getPrivateKey_throwsException 0.003s passed
getPublicKey_noServices 0.003s passed
getPublicKey_noSocialLoginService 0.003s passed
getPublicKey_throwsException 0.004s passed
getPublicKeys_noSocialLoginService 0.004s passed
getPublicKeys_successful 0.003s passed
getPublicKeys_throwsSocialLoginException 0.004s passed
getRequiredSerializableProtectedStringConfigAttribute_emptyProps 0.003s passed
getRequiredSerializableProtectedStringConfigAttribute_missingKey 0.005s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_plaintext 0s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_valueEmpty 0.001s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_valueWhitespace 0.001s passed
getRequiredSerializableProtectedStringConfigAttribute_withKey_xor 0.012s passed
getSocialLoginCookieCache 0.004s passed
getUniqueId 0.003s passed
getUniqueId_configMissingUniqueId 0.004s passed
getUserApis 0.005s passed
getUserApis_configMissingUserApi 0.003s passed
getUserApis_userApiWithDelimiters 0.003s passed
handleJwtElement_emptyProps 0.001s passed
handleJwtElement_exceptionThrown 0.001s passed
handleJwtElement_missingKey 0.001s passed
handleJwtElement_nullConfigAdmin 0.001s passed
handleJwtElement_validConfiguration 0.001s passed
initProps_emptyProps 0.015s passed
initProps_minimumProps 0.003s passed
initUserApiConfigs_emptyArg 0.002s passed
initUserApiConfigs_nullArg 0.001s passed
initUserApiConfigs_someString 0.001s passed
initializeJwt_jwtProps_empty 0.004s passed
initializeJwt_jwtProps_null 0.007s passed
initializeJwt_jwtProps_validValues 0.005s passed
initializeJwt_jwtProps_valuesEmpty 0.005s passed
initializeJwt_jwtProps_valuesWhitespace 0.006s passed
initializeJwt_nullJwtConfig 0.029s passed
initializeJwt_uninitialized 0.001s passed
testUseJvmProps 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.
[WARNING ] CWWKS5432W: The social login feature cannot redirect the request to the custom social media selection page because the social login web application configuration is not available. The default selection page will be used.
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.
[ERROR   ] CWWKS5442E: The social login feature cannot complete the request by using the social login configuration [myConfigId] because the state value is missing.
[ERROR   ] CWWKS5442E: The social login feature cannot complete the request by using the social login configuration [myConfigId] because the state value is missing.
[ERROR   ] CWWKS5443E: The social login feature cannot complete the request by using the social login configuration [myConfigId] because the value for the original request URL is missing or empty. The original request URL value must be present to redirect the user back to the protected resource that was originally requested.
[ERROR   ] CWWKS5443E: The social login feature cannot complete the request by using the social login configuration [myConfigId] because the value for the original request URL is missing or empty. The original request URL value must be present to redirect the user back to the protected resource that was originally requested.
[ERROR   ] CWWKS5499E: The social login feature cannot redirect the request back to the original request URL [Some%20invalid%20URL] because the URL is not valid. CWWKS5496W: The provided value [Some%20invalid%20URL] is expected to be an HTTP URI. The value does not start with an HTTP protocol.
[ERROR   ] CWWKS5495E: A social login authentication request failed because the social media returned the following  error: . The error URI was [].
[ERROR   ] CWWKS5495E: A social login authentication request failed because the social media returned the following my_error error: Some error description.. The error URI was [https://some-domain.com/some/path].
[ERROR   ] CWWKS5480E: A social login request failed because the state element of the request was empty or mismatched.
[ERROR   ] CWWKS5480E: A social login request failed because the state element of the request was empty or mismatched.
[ERROR   ] CWWKS5480E: A social login request failed because the state element of the request was empty or mismatched.
[ERROR   ] CWWKS5480E: A social login request failed because the state element of the request was empty or mismatched.
[ERROR   ] CWWKS5480E: A social login request failed because the state element of the request was empty or mismatched.
[ERROR   ] CWWKS5481E: A social login request failed because the request URL attribute of the request was null or empty.
[ERROR   ] CWWKS5481E: A social login request failed because the request URL attribute of the request was null or empty.
[ERROR   ] CWWKS5499E: The social login feature cannot redirect the request back to the original request URL [some%20invalid%20URL] because the URL is not valid. CWWKS5496W: The provided value [some%20invalid%20URL] is expected to be an HTTP URI. The value does not start with an HTTP protocol.
[ERROR   ] CWWKS5494E: A social login request failed because the CODE attribute of the request was null or empty.
[ERROR   ] CWWKS5494E: A social login request failed because the CODE attribute of the request was null or empty.
[ERROR   ] CWWKS5429E: The default social media sign in page cannot be displayed. CWWKS5427E: The social media sign in page cannot be displayed because the social login feature cannot find any social login configurations that are configured to authenticate this request.
[ERROR   ] CWWKS5429E: The default social media sign in page cannot be displayed. 
[ERROR   ] CWWKS5429E: The default social media sign in page cannot be displayed. This is some error message.
[ERROR   ] CWWKS5429E: The default social media sign in page cannot be displayed. CWWKS5428W: The social login feature cannot find a social login configuration that matches the ID [myUniqueId]. A social login configuration with the specified ID is expected to be present and configured to authenticate this request.
[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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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.