Class SSLConnectionConfigurator

java.lang.Object
org.apache.hadoop.hdfs.web.SSLConnectionConfigurator
All Implemented Interfaces:
org.apache.hadoop.security.authentication.client.ConnectionConfigurator

@Public @Evolving public class SSLConnectionConfigurator extends Object implements org.apache.hadoop.security.authentication.client.ConnectionConfigurator
Configure a connection to use SSL authentication.
  • Method Details

    • configure

      public HttpURLConnection configure(HttpURLConnection conn)
      Description copied from interface: org.apache.hadoop.security.authentication.client.ConnectionConfigurator
      Configures the given HttpURLConnection instance.
      Specified by:
      configure in interface org.apache.hadoop.security.authentication.client.ConnectionConfigurator
      Parameters:
      conn - the HttpURLConnection instance to configure.
      Returns:
      the configured HttpURLConnection instance.