Class com.ibm.ws.security.social.tai.TAISubjectUtilsTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
addAccessTokenAliasCustomProp_emptyAccessToken | 0.001s | passed |
addAccessTokenAliasCustomProp_nonEmptyAccessToken | 0.001s | passed |
addAccessTokenLifetimeCustomProp_largeLifetime | 0.002s | passed |
addAccessTokenLifetimeCustomProp_missingLifetime | 0.001s | passed |
addAccessTokenLifetimeCustomProp_negativeLifetime | 0.001s | passed |
addEncryptedAccessTokenCustomProp_emptyEncryptedToken | 0.002s | passed |
addEncryptedAccessTokenCustomProp_errorGettingToken | 0.002s | passed |
addEncryptedAccessTokenCustomProp_nonEmptyEncryptedToken | 0.002s | passed |
addIdTokenCustomProp_emptyIdToken | 0.001s | passed |
addIdTokenCustomProp_missingIdToken | 0.001s | passed |
addIdTokenCustomProp_nonEmptyIdToken | 0.002s | passed |
addIdTokenCustomProp_nonEmptyIdTokenWithWhitespace | 0.002s | passed |
addIdTokenCustomProp_whitespaceIdToken | 0.001s | passed |
addRefreshTokenCustomProp_emptyRefreshToken | 0.001s | passed |
addRefreshTokenCustomProp_missingRefreshToken | 0.002s | passed |
addRefreshTokenCustomProp_nonEmptyRefreshToken | 0.001s | passed |
addRefreshTokenCustomProp_nonEmptyRefreshTokenWithWhitespace | 0.001s | passed |
addRefreshTokenCustomProp_whitespaceRefreshToken | 0.001s | passed |
addScopeCustomProp_tokensIncludeScope_empty | 0.002s | passed |
addScopeCustomProp_tokensIncludeScope_nonEmpty | 0.001s | passed |
addScopeCustomProp_tokensIncludeScope_whitespace | 0.002s | passed |
addScopeCustomProp_tokensMissingScope_configEmptyScope | 0.002s | passed |
addScopeCustomProp_tokensMissingScope_configMissingScope | 0.001s | passed |
addScopeCustomProp_tokensMissingScope_configNonEmptyScope | 0.002s | passed |
addScopeCustomProp_tokensMissingScope_configWhitespaceScope | 0.002s | passed |
addSocialMediaNameCustomProp_emptyName | 0.001s | passed |
addSocialMediaNameCustomProp_nonEmptyName | 0.002s | passed |
addSocialMediaNameCustomProp_whitespaceName | 0.002s | passed |
buildSubject_exceptionThrownCreatingUserProfile | 0.002s | passed |
buildSubject_nonNullEncryptedAccessToken_nonNullAccessTokenAlias | 0.003s | passed |
buildSubject_nullJwt_nullIssuedJwt_nullUserProfile | 0.013s | passed |
buildSubject_nullJwts | 0.002s | passed |
buildSubject_nullUserProfile | 0.002s | passed |
constructDefaultRealmFromConfig_authzEndpointHttps_noPath | 0.002s | passed |
constructDefaultRealmFromConfig_authzEndpointHttps_withPath | 0.002s | passed |
constructDefaultRealmFromConfig_authzEndpointHttps_withPathAndQuery | 0.002s | passed |
constructDefaultRealmFromConfig_authzEndpointNotHttps_noPath | 0.002s | passed |
constructDefaultRealmFromConfig_authzEndpointNotHttps_withPath | 0.002s | passed |
constructDefaultRealmFromConfig_errorGettingAuthorizationEndpoint | 0.006s | passed |
constructDefaultRealmFromConfig_errorGettingAuthorizationEndpoint_useUserapi | 0.004s | passed |
createCacheToken_missingAccessToken_nullTokensMap | 0.001s | passed |
createCacheToken_missingIdToken | 0.001s | passed |
createCacheToken_nullTokensMap | 0.001s | passed |
createCacheToken_tokensIncludeEmptyIdToken | 0.002s | passed |
createCacheToken_tokensIncludeIdToken | 0.001s | passed |
createCustomPropertiesFromConfig | 0.002s | passed |
createCustomPropertiesFromConfig_emptyRealmNullUsername | 0.001s | passed |
createCustomPropertiesFromConfig_nullRealm | 0.004s | passed |
createCustomPropertiesFromSubjectMapping_nullRealm | 0.006s | passed |
createCustomPropertiesFromSubjectMapping_nullUniqueUser_noGroups | 0.018s | passed |
createCustomPropertiesFromSubjectMapping_withGroups | 0.002s | passed |
createCustomProperties_accessTokenOnlyInUserApiTokens_getRefreshAndIdTokens | 0.009s | passed |
createCustomProperties_allTokens | 0.003s | passed |
createCustomProperties_allTokensInUserApiTokens_doNotGetRefreshOrIdToken | 0.003s | passed |
createCustomProperties_emptyUserApiTokens | 0.002s | passed |
createCustomProperties_nullUserApiTokens | 0.002s | passed |
createResult_buildingSubjectThrowsException | 0.003s | passed |
createResult_errorSettingCustomProperties | 0.017s | passed |
createResult_success | 0.002s | passed |
createUserProfile_emptyCustomProperties | 0.009s | passed |
createUserProfile_exceptionThrownCreatingProperties | 0.002s | passed |
createUserProfile_nullUserApiResponse | 0.002s | passed |
getAccessTokenAndAddCustomProp_emptyAccessToken | 0.001s | passed |
getAccessTokenAndAddCustomProp_missingAccessToken | 0.001s | passed |
getAccessTokenAndAddCustomProp_nonEmptyAccessToken | 0.002s | passed |
setAllCustomProperties_errorSettingUsernameOrProperties | 0.002s | passed |
setAllCustomProperties_missingAccessToken | 0.009s | passed |
setAllCustomProperties_missingUsername | 0.005s | passed |
setAllCustomProperties_success | 0.002s | passed |
setUsernameAndCustomPropertiesUsingAttributeToSubjectMapping_doNotMapToUserRegistry | 0.002s | passed |
setUsernameAndCustomPropertiesUsingAttributeToSubjectMapping_doNotMapToUserRegistry_errorResult | 0.002s | passed |
setUsernameAndCustomPropertiesUsingAttributeToSubjectMapping_mapToUserRegistry | 0.002s | passed |
setUsernameAndCustomPropertiesUsingJwt_nullJwt | 0.001s | passed |
setUsernameAndCustomPropertiesUsingJwt_validJwt_doNotMapToUserRegsitry_errorResult | 0.002s | passed |
setUsernameAndCustomPropertiesUsingJwt_validJwt_doNotMapToUserRegsitry_nullResult | 0.002s | passed |
setUsernameAndCustomPropertiesUsingJwt_validJwt_mapToUserRegsitry | 0.003s | passed |
setUsernameAndCustomPropertiesUsingJwt_validJwt_missingUsernameAttributeClaim | 0.002s | passed |
setUsernameAndCustomPropertiesUsingJwt_validJwt_nullClaims | 0.009s | passed |
setUsernameAndCustomProperties_nonNullUserApiResponse | 0.002s | passed |
setUsernameAndCustomProperties_nullUserApiResponse | 0.001s | 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 ] CWWKS5435E: The user name could not be extracted from the token that was obtained from the social media platform. [ERROR ] CWWKS5435E: The user name could not be extracted from the token that was obtained from the social media platform. [ERROR ] CWWKS5435E: The user name could not be extracted from the token that was obtained from the social media platform. [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 ] CWWKS5455E: The social login feature cannot authenticate user [John Q. Doe] because an access token cannot be found. [ERROR ] CWWKS5455E: The social login feature cannot authenticate user [John Q. Doe] because an access token cannot be found. [ERROR ] CWWKS5455E: The social login feature cannot authenticate user [John Q. Doe] because an access token cannot be found. [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 ] 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 ] 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 ] 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 ] 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 ] This is an exception message. [ERROR ] This is an exception message. [ERROR ] This is an exception message. [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 ] 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 ] 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 ] This is an exception message. [ERROR ] This is an exception message. [ERROR ] This is an exception message. [ERROR ] This is an exception message.