Class com.ibm.ws.security.social.internal.utils.OAuthClientHttpUtilTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| commonEndpointInvocation_executingRequestThrowsException | 0.001s | passed |
| commonEndpointInvocation_hostnameVerification | 0.001s | passed |
| commonEndpointInvocation_nullArgs | 0s | passed |
| commonEndpointInvocation_nullOrEmptyAccessToken | 0.001s | passed |
| commonEndpointInvocation_nullOrEmptyAuthMethod | 0s | passed |
| commonEndpointInvocation_nullOrEmptyPassword | 0s | passed |
| commonEndpointInvocation_nullOrEmptyUsername | 0.004s | passed |
| commonEndpointInvocation_nullSSLContext | 0.001s | passed |
| commonEndpointInvocation_verifyingResponseThrowsException | 0.001s | passed |
| createHttpGetMethod_invalidUrl | 0s | passed |
| createHttpGetMethod_nullArgs | 0s | passed |
| createHttpGetMethod_nullOrEmptyParams | 0.001s | passed |
| createHttpGetMethod_nullOrEmptyRequestUrl | 0s | passed |
| createHttpGetMethod_withParams | 0.001s | passed |
| createPostMethod_invalidUrl | 0s | passed |
| createPostMethod_nullArgs | 0s | passed |
| createPostMethod_nullOrEmptyParams | 0.001s | passed |
| createPostMethod_nullOrEmptyRequestUrl | 0.001s | passed |
| createPostMethod_withParams | 0.001s | passed |
| executeRequest_executeThrowsException | 0.001s | passed |
| executeRequest_hostnameVerification | 0s | passed |
| executeRequest_nullArgs | 0.008s | passed |
| executeRequest_nullOrEmptyUrl | 0.001s | passed |
| executeRequest_nullRequestObject | 0s | passed |
| executeRequest_nullSSLContext | 0.001s | passed |
| extractTokensFromResponse_emptyInput | 0s | passed |
| extractTokensFromResponse_missingRequiredParam | 0.002s | passed |
| extractTokensFromResponse_nullEntityContent | 0.007s | passed |
| extractTokensFromResponse_nullInput | 0.001s | passed |
| extractTokensFromResponse_nullResponseEntity | 0.006s | passed |
| extractTokensFromResponse_validEntityContent | 0.002s | passed |
| getToEndpoint_executingRequestThrowsException | 0.001s | passed |
| getToEndpoint_hostnameVerification | 0.001s | passed |
| getToEndpoint_invalidUrl | 0s | passed |
| getToEndpoint_nullArgs | 0.001s | passed |
| getToEndpoint_nullOrEmptyAccessToken | 0s | passed |
| getToEndpoint_nullOrEmptyAuthMethod | 0s | passed |
| getToEndpoint_nullOrEmptyClientId | 0.001s | passed |
| getToEndpoint_nullOrEmptyClientSecret | 0s | passed |
| getToEndpoint_nullOrEmptyHeaders | 0s | passed |
| getToEndpoint_nullOrEmptyParams | 0s | passed |
| getToEndpoint_nullOrEmptyUrl | 0s | passed |
| getToEndpoint_nullSSLContext | 0.001s | passed |
| getToEndpoint_verifyingResponseThrowsException | 0.001s | passed |
| postToEndpoint_executingRequestThrowsException | 0.001s | passed |
| postToEndpoint_hostnameVerification | 0.001s | passed |
| postToEndpoint_invalidUrl | 0s | passed |
| postToEndpoint_nullArgs | 0s | passed |
| postToEndpoint_nullOrEmptyAccessToken | 0.001s | passed |
| postToEndpoint_nullOrEmptyAuthMethod | 0s | passed |
| postToEndpoint_nullOrEmptyHeaders | 0s | passed |
| postToEndpoint_nullOrEmptyParams | 0.003s | passed |
| postToEndpoint_nullOrEmptyPassword | 0s | passed |
| postToEndpoint_nullOrEmptyUrl | 0s | passed |
| postToEndpoint_nullOrEmptyUsername | 0.003s | passed |
| postToEndpoint_nullSSLContext | 0s | passed |
| postToEndpoint_verifyingResponseThrowsException | 0.001s | passed |
| postToIntrospectEndpoint_executingRequestThrowsException | 0.003s | passed |
| postToIntrospectEndpoint_hostnameVerification | 0s | passed |
| postToIntrospectEndpoint_invalidUrl | 0s | passed |
| postToIntrospectEndpoint_nullArgs | 0s | passed |
| postToIntrospectEndpoint_nullOrEmptyAccessToken | 0s | passed |
| postToIntrospectEndpoint_nullOrEmptyAuthMethod | 0.001s | passed |
| postToIntrospectEndpoint_nullOrEmptyHeaders | 0.001s | passed |
| postToIntrospectEndpoint_nullOrEmptyParams | 0.001s | passed |
| postToIntrospectEndpoint_nullOrEmptyPassword | 0.001s | passed |
| postToIntrospectEndpoint_nullOrEmptyUrl | 0.001s | passed |
| postToIntrospectEndpoint_nullOrEmptyUsername | 0s | passed |
| postToIntrospectEndpoint_nullSSLContext | 0s | passed |
| postToIntrospectEndpoint_verifyingResponseThrowsException | 0.001s | passed |
| setAuthorizationHeader_basicAuthWithAccessToken | 0s | passed |
| setAuthorizationHeader_basicAuthWithoutAccessToken | 0s | passed |
| setAuthorizationHeader_emptyAccessToken | 0.001s | passed |
| setAuthorizationHeader_nullAccessToken | 0s | passed |
| setAuthorizationHeader_nullArgs | 0.001s | passed |
| setAuthorizationHeader_nullOrEmptyAuthMethod | 0.001s | passed |
| setAuthorizationHeader_nullOrEmptyPassword | 0.001s | passed |
| setAuthorizationHeader_nullOrEmptyUsername | 0s | passed |
| verifyResponse_entityToStringThrowsException | 0.001s | passed |
| verifyResponse_missingStatusLine_nullEntity | 0.001s | passed |
| verifyResponse_nullArgs | 0s | passed |
| verifyResponse_nullOrEmptyUrl | 0.005s | passed |
| verifyResponse_nullResponseObject | 0s | passed |
| verifyResponse_response200 | 0s | passed |
| verifyResponse_withEntityErrorMessage | 0.001s | passed |
Standard output
TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@575b18e3
[WARNING ] CWWKS5464E: JSON Web Token (JWT) consumer functionality might not be available for the social login configuration [null] because the service for the specified social login configuration cannot be found.
[WARNING ] CWWKS5464E: JSON Web Token (JWT) consumer functionality might not be available for the social login configuration [null] because the service for the specified social login configuration cannot be found.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@575b18e3
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@575b18e3
TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following:
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------
Standard error
[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 [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 [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 ] CWWKS2351E: The null OpenID Connect client uses the client_secret_post token endpoint authentication method. This authentication method requires a client secret, but a client secret is not configured. [ERROR ] This is an exception message. [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 [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 [authorizationEndpoint] 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 ] CWWKS2351E: The null OpenID Connect client uses the client_secret_post token endpoint authentication method. This authentication method requires a client secret, but a client secret is not configured. [ERROR ] This is an exception message. [ERROR ] CWWKS5465E: The context path [Some path] that is specified by the social login web application configuration contains characters that cannot be included in a valid URI path. The social login feature does not work with a context path that is not valid. [ERROR ] CWWKS5431E: The social media selection page URL [] that is specified by the social login web application configuration is not a relative path and does not use either the HTTP or HTTPS scheme. [ERROR ] CWWKS5431E: The social media selection page URL [ftp://www.ibm.com] that is specified by the social login web application configuration is not a relative path and does not use either the HTTP or HTTPS scheme. [ERROR ] CWWKS5430W: The social media selection page URL [/bad/|/URL] that is specified by the social login web application configuration is not a valid URI. The default selection page will be used. CWWKS5417E: An error was encountered while initializing the URI [/bad/|/URL]: Illegal character in path at index 5: /bad/|/URL [ERROR ] CWWKS5430W: The social media selection page URL [/good/%/URL] that is specified by the social login web application configuration is not a valid URI. The default selection page will be used. CWWKS5417E: An error was encountered while initializing the URI [/good/%/URL]: Malformed escape pair at index 6: /good/%/URL [ERROR ] CWWKS5479E: The configuration attribute [consumerKey] 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 [consumerSecret] 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 [consumerSecret] 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 [consumerSecret] 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.