@@ -26,7 +26,7 @@ import org.apache.http.protocol.HttpContext; | |||
import org.apache.http.protocol.HttpRequestHandler; | |||
/** | |||
* A Http action of the CE's HTTP server handles a request for a specified path. | |||
* An Http action of the CE's HTTP server handles a request for a specified path. | |||
*/ | |||
public interface HttpAction extends HttpRequestHandler { | |||
/** |
@@ -22,7 +22,7 @@ package org.sonar.server.webhook; | |||
public interface WebhookCaller { | |||
/** | |||
* Call webhook by sending a HTTP(S) POST request containing | |||
* Call webhook by sending an HTTP(S) POST request containing | |||
* the JSON payload. | |||
* <br/> | |||
* Errors are silently ignored. They don't generate logs or |
@@ -53,7 +53,7 @@ public class LogOAuthWarning implements Startable { | |||
String publicRootUrl = server.getPublicRootUrl(); | |||
if (StringUtils.startsWithIgnoreCase(publicRootUrl, "http:")) { | |||
LoggerFactory.getLogger(getClass()).warn( | |||
"For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL."); | |||
"For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL."); | |||
} | |||
} | |||
@@ -47,7 +47,7 @@ public class LogOAuthWarningTest { | |||
underTest.start(); | |||
assertThat(logTester.logs(Level.WARN)).containsOnly("For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL."); | |||
assertThat(logTester.logs(Level.WARN)).containsOnly("For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL."); | |||
underTest.stop(); | |||
} |
@@ -135,7 +135,7 @@ public class CloudUsageDataProvider { | |||
} | |||
/** | |||
* Create a http client to call the Kubernetes API. | |||
* Create an http client to call the Kubernetes API. | |||
* This is based on the client creation in the official Kubernetes Java client. | |||
*/ | |||
private void initHttpClient() { |
@@ -105,7 +105,7 @@ public class ValidationAction extends HttpFilter implements SamlAction { | |||
.setPost(true) | |||
.setHandler(ServletFilterHandler.INSTANCE) | |||
.setDescription("Handle the callback of a SAML assertion from the identity Provider and produces " + | |||
"a HTML page with all information available in the assertion.") | |||
"an HTML page with all information available in the assertion.") | |||
.setSince("9.7"); | |||
action.createParam("SAMLResponse") | |||
.setDescription("SAML assertion value") |