@Test public void testLoadSslConfiguration() throws Exception { Configuration conf = provisionCredentialsForSSL(); TestBuilder builder = (TestBuilder) new TestBuilder(); builder = (TestBuilder) WebAppUtils.loadSslConfiguration( builder, conf); String keypass = "keypass"; String storepass = "storepass"; String trustpass = "trustpass"; assertEquals(keypass, ((TestBuilder)builder).keypass); assertEquals(storepass, ((TestBuilder)builder).keystorePassword); assertEquals(trustpass, ((TestBuilder)builder).truststorePassword); }
public static HttpServer2.Builder loadSslConfiguration( HttpServer2.Builder builder) { return loadSslConfiguration(builder, null); }
WebAppUtils { public static HttpServer2.Builder loadSslConfiguration( HttpServer2.Builder builder) { return loadSslConfiguration(builder, null); } }
WebAppUtils { public static HttpServer2.Builder loadSslConfiguration( HttpServer2.Builder builder) { return loadSslConfiguration(builder, null); }  }
WebAppUtils { public static HttpServer2.Builder loadSslConfiguration( HttpServer2.Builder builder) { return loadSslConfiguration(builder, null); }  static void setRMWebAppPort(Configuration conf, int port); static void setRMWebAppHostnameAndPort(Configuration conf,
      String hostname, int port); static void setNMWebAppHostNameAndPort(Configuration conf,
      String hostName, int port); static String getRMWebAppURLWithScheme(Configuration conf); static String getRMWebAppURLWithoutScheme(Configuration conf); static List<String> getProxyHostsAndPortsForAmFilter(
      Configuration conf); static String getProxyHostAndPort(Configuration conf); static String getResolvedRMWebAppURLWithScheme(Configuration conf); static String getResolvedRMWebAppURLWithoutScheme(Configuration conf); static String getResolvedRMWebAppURLWithoutScheme(Configuration conf,
      Policy httpPolicy); static String getWebAppBindURL(
      Configuration conf,
      String hostProperty,
      String webAppURLWithoutScheme); static String getNMWebAppURLWithoutScheme(Configuration conf); static String getAHSWebAppURLWithoutScheme(Configuration conf); static String getURLWithScheme(String schemePrefix, String url); static String getRunningLogURL(
      String nodeHttpAddress, String containerId, String user); static String getAggregatedLogURL(String serverHttpAddress,
      String allocatedNode, String containerId, String entity, String user); static String getHttpSchemePrefix(Configuration conf); static HttpServer2.Builder loadSslConfiguration(
      HttpServer2.Builder builder); static HttpServer2.Builder loadSslConfiguration(
      HttpServer2.Builder builder, Configuration sslConf); }
WebAppUtils { public static HttpServer2.Builder loadSslConfiguration( HttpServer2.Builder builder) { return loadSslConfiguration(builder, null); }  static void setRMWebAppPort(Configuration conf, int port); static void setRMWebAppHostnameAndPort(Configuration conf,
      String hostname, int port); static void setNMWebAppHostNameAndPort(Configuration conf,
      String hostName, int port); static String getRMWebAppURLWithScheme(Configuration conf); static String getRMWebAppURLWithoutScheme(Configuration conf); static List<String> getProxyHostsAndPortsForAmFilter(
      Configuration conf); static String getProxyHostAndPort(Configuration conf); static String getResolvedRMWebAppURLWithScheme(Configuration conf); static String getResolvedRMWebAppURLWithoutScheme(Configuration conf); static String getResolvedRMWebAppURLWithoutScheme(Configuration conf,
      Policy httpPolicy); static String getWebAppBindURL(
      Configuration conf,
      String hostProperty,
      String webAppURLWithoutScheme); static String getNMWebAppURLWithoutScheme(Configuration conf); static String getAHSWebAppURLWithoutScheme(Configuration conf); static String getURLWithScheme(String schemePrefix, String url); static String getRunningLogURL(
      String nodeHttpAddress, String containerId, String user); static String getAggregatedLogURL(String serverHttpAddress,
      String allocatedNode, String containerId, String entity, String user); static String getHttpSchemePrefix(Configuration conf); static HttpServer2.Builder loadSslConfiguration(
      HttpServer2.Builder builder); static HttpServer2.Builder loadSslConfiguration(
      HttpServer2.Builder builder, Configuration sslConf); static final String WEB_APP_TRUSTSTORE_PASSWORD_KEY; static final String WEB_APP_KEYSTORE_PASSWORD_KEY; static final String WEB_APP_KEY_PASSWORD_KEY; static final String HTTPS_PREFIX; static final String HTTP_PREFIX; }