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

41

tests

0

failures

0

ignored

0.048s

duration

100%

successful

Tests

Test Duration Result
activate_emptyContextPath 0.004s passed
activate_invalidContextPath 0.001s passed
activate_validContextPath 0.001s passed
initProps_emptyContextPath 0s passed
initProps_enableLocalAuthentication_false 0.001s passed
initProps_enableLocalAuthentication_missing 0.001s passed
initProps_enableLocalAuthentication_true 0.001s passed
initProps_invalidContextPath 0.001s passed
initProps_validContextPath 0.001s passed
isHttpOrRelativeUrl_emptyUrl 0s passed
isHttpOrRelativeUrl_httpUrl 0.001s passed
isHttpOrRelativeUrl_httpUrl_mixedCapitalization 0s passed
isHttpOrRelativeUrl_httpsUrl 0s passed
isHttpOrRelativeUrl_httpsUrl_mixedCapitalization 0s passed
isHttpOrRelativeUrl_nonHttpUrl 0s passed
isHttpOrRelativeUrl_nullUrl 0s passed
isHttpOrRelativeUrl_simpleString 0.001s passed
isHttpOrRelativeUrl_whitespaceUrl 0s passed
isSelectionPageUrlNullOrEmpty_empty 0s passed
isSelectionPageUrlNullOrEmpty_nonEmpty 0s passed
isSelectionPageUrlNullOrEmpty_null 0s passed
isSelectionPageUrlNullOrEmpty_whitespace 0s passed
isValidUriPath_alphaNumericPath 0s passed
isValidUriPath_emptyArg 0.001s passed
isValidUriPath_individualCharCheck 0.013s passed
isValidUriPath_invalidSpecialChars 0.001s passed
isValidUriPath_nullArg 0s passed
isValidUriPath_typicalPath 0s passed
isValidUriPath_validSpecialChars 0.001s passed
modified_emptyContextPath 0.001s passed
modified_invalidContextPath 0.001s passed
modified_validContextPath 0s passed
validateAndSetContextPath_invalidPath 0.001s passed
validateAndSetContextPath_validPath 0.001s passed
validateAndSetNonEmptySelectionPageUrl_invalidPercentChar 0.002s passed
validateAndSetNonEmptySelectionPageUrl_invalidUrl 0.006s passed
validateAndSetNonEmptySelectionPageUrl_nonHttpUrl 0.001s passed
validateAndSetNonEmptySelectionPageUrl_nullOrEmptyUrl 0.002s passed
validateAndSetNonEmptySelectionPageUrl_validUrl 0.001s passed
validateAndSetSelectionPageUrl_nonEmptyUrl 0.002s passed
validateAndSetSelectionPageUrl_nullOrEmptyUrl 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@b54abd13
[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@b54abd13
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b54abd13
    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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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 [] 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 [] 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 [] 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 [] 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 [] 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 [] 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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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 [/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 [/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 [/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 [/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 [/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 [/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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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