Class com.ibm.ws.security.social.tai.TAIWebUtilsTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
createStateCookie_GET | 0.003s | passed |
createStateCookie_POST_withLoginHint | 0.003s | passed |
getAuthorizationEndpoint_invalidUri | 0.002s | passed |
getAuthorizationEndpoint_nullOrEmptyEndpoint | 0.002s | passed |
getAuthorizationEndpoint_validUri | 0.002s | passed |
getHostAndPort_insecure | 0.002s | passed |
getHostAndPort_secure | 0.003s | passed |
getRedirectUrl_emptyRedirectHostAndPort | 0.004s | passed |
getRedirectUrl_hostWithoutScheme | 0.004s | passed |
getRedirectUrl_invalidRedirectHostAndPort | 0.003s | passed |
getRedirectUrl_nullRedirectHostAndPort | 0.002s | passed |
test_buildBearerTokenFromCustomHeaderSegments_multipleSegments | 0.002s | passed |
test_buildBearerTokenFromCustomHeaderSegments_negativeNumberOfSegments | 0.001s | passed |
test_buildBearerTokenFromCustomHeaderSegments_oneSegment_missingSegmentHeader | 0.002s | passed |
test_buildBearerTokenFromCustomHeaderSegments_oneSegment_segmentHeaderContainsWhiteSpace | 0.002s | passed |
test_buildBearerTokenFromCustomHeaderSegments_oneSegment_segmentHeaderIsWhiteSpace | 0.003s | passed |
test_buildBearerTokenFromCustomHeaderSegments_zeroSegments | 0.001s | passed |
test_getBearerAccessToken_customHeaderName | 0.017s | passed |
test_getBearerAccessToken_customHeaderName_missingCustomHeader | 0.004s | passed |
test_getBearerAccessToken_noConfiguredHeaderName_bearerTokenInAuthzHeader | 0.002s | passed |
test_getBearerTokenFromAuthzHeaderOrRequestBody_bearerTokenInAuthzHeader | 0.001s | passed |
test_getBearerTokenFromAuthzHeaderOrRequestBody_missingAccessTokenParameter | 0.002s | passed |
test_getBearerTokenFromAuthzHeaderOrRequestBody_nonPostRequest | 0.001s | passed |
test_getBearerTokenFromAuthzHeaderOrRequestBody_nonUrlEncodedRequest | 0.002s | passed |
test_getBearerTokenFromAuthzHeaderOrRequestBody_tokenIncludedAsParameter | 0.002s | passed |
test_getBearerTokenFromCustomHeaderSegments_nonNumberSegmentsHeader | 0.001s | passed |
test_getBearerTokenFromCustomHeaderSegments_oneSegmentHeader | 0.002s | passed |
test_getBearerTokenFromCustomHeaderSegments_oneSegmentHeader_missingValue | 0.002s | passed |
test_getBearerTokenFromCustomHeader_emptyBearerValue | 0.002s | passed |
test_getBearerTokenFromCustomHeader_emptyHeaderName | 0.001s | passed |
test_getBearerTokenFromCustomHeader_missingCustomHeaders | 0.002s | passed |
test_getBearerTokenFromCustomHeader_normalBearerValue | 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 ] 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 ] 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 ] 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.