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 {
/**
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
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.");
}
}
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();
}
}
/**
- * 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() {
.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")