Class com.ibm.ws.security.social.tai.AuthorizationCodeAuthenticatorTest

50

tests

0

failures

0

ignored

0.093s

duration

100%

successful

Tests

Test Duration Result
test_createExceptionAndLogMessage_keyNotInCatalog 0.001s passed
test_createExceptionAndLogMessage_nullCause_emptyMessageKey 0s passed
test_createExceptionAndLogMessage_validKey_noInserts 0.001s passed
test_createExceptionAndLogMessage_validKey_withInserts 0.002s passed
test_createExceptionAndLogMessage_withCause_emptyMessageKey 0.001s passed
test_createIssuedJwtFromIdToken_nullJwtRef 0.001s passed
test_createIssuedJwtFromIdToken_successful 0.001s passed
test_createIssuedJwtFromIdToken_throwsException 0.001s passed
test_createIssuedJwtFromUserApiResponse_exceptionThrown 0.005s passed
test_createIssuedJwtFromUserApiResponse_noJwtRef 0.001s passed
test_createIssuedJwtFromUserApiResponse_successful 0.001s passed
test_createJwtAndIssuedJwtFromIdToken_creatingIssuedJwtThrowsException 0.003s passed
test_createJwtAndIssuedJwtFromIdToken_creatingJwtThrowsException 0.001s passed
test_createJwtAndIssuedJwtFromIdToken_successful 0.004s passed
test_createJwtFromIdToken_successful 0.005s passed
test_createJwtFromIdToken_throwsException 0.001s passed
test_createJwtFromUserApi_createUserApiFromResponseThrowsException 0.001s passed
test_createJwtFromUserApi_createUserApiFromTokenThrowsException 0.001s passed
test_createJwtFromUserApi_successful 0.001s passed
test_createJwtUserApiResponseAndIssuedJwtFromIdToken_creatingJwtThrowsException 0.001s passed
test_createJwtUserApiResponseAndIssuedJwtFromIdToken_successful 0.001s passed
test_createJwtWithAppropriateToken_nullIdToken 0.001s passed
test_createJwtWithAppropriateToken_nullIdToken_exceptionThrown 0.001s passed
test_createJwtWithAppropriateToken_withIdToken 0.001s passed
test_createJwtWithAppropriateToken_withIdToken_exceptionThrown 0.001s passed
test_createSslSocketFactory_successful 0.001s passed
test_createSslSocketFactory_throwsException 0.004s passed
test_createUserApiResponseFromAccessToken_emptyApiResponse 0.005s passed
test_createUserApiResponseFromAccessToken_nullApiResponse 0.002s passed
test_createUserApiResponseFromAccessToken_validApiResponse 0.001s passed
test_createUserApiResponseFromIdToken_invalidToken 0.004s passed
test_createUserApiResponseFromIdToken_invalidTokenFormat 0.001s passed
test_createUserApiResponseFromIdToken_nullToken 0.001s passed
test_createUserApiResponseFromIdToken_validToken 0.001s passed
test_generateJwtAndTokenInformation_createJwtWithAppropriateTokenThrowsException 0.001s passed
test_generateJwtAndTokenInformation_createSslSocketFactoryThrowsException 0.011s passed
test_generateJwtAndTokenInformation_getTokensFromTokenEndpointThrowsException 0.001s passed
test_generateJwtAndTokenInformation_successful 0.001s passed
test_getAccessTokenFromTokens_missingAccessToken 0s passed
test_getAccessTokenFromTokens_nullToken 0s passed
test_getAccessTokenFromTokens_withToken 0.001s passed
test_getIdTokenFromTokens_missingIdToken 0.001s passed
test_getIdTokenFromTokens_nullToken 0s passed
test_getIdTokenFromTokens_withToken 0.001s passed
test_getTokensFromTokenEndpoint_exceptionThrown 0.006s passed
test_getTokensFromTokenEndpoint_nonEmptyTokens 0.001s passed
test_getTokensFromTokenEndpoint_nullTokens 0.001s passed
test_getTokensUsingAuthzCode_nonEmptyTokens 0.003s passed
test_getTokensUsingAuthzCode_nullTokens 0.001s passed
test_getTokensUsingAuthzCode_throwsException 0.006s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6ea6a3ef
[WARNING ] CWWKS5416W: The outgoing request to [https://www.example.com/oauth/authorize] might not succeed because the [client_id] parameter is missing or empty.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6ea6a3ef
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@6ea6a3ef
    TrConfigZapper.zapTrConfig : finished invoke init()
[WARNING ] CWWKS5460W: There are no user API configurations specified for the social login configuration [myUniqueId].
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.