Package org.apache.hadoop.hdfs.web
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 Summary
Modifier and TypeMethodDescriptionconfigure(HttpURLConnection conn) Configures the givenHttpURLConnectioninstance.
-
Method Details
-
configure
Description copied from interface:org.apache.hadoop.security.authentication.client.ConnectionConfiguratorConfigures the givenHttpURLConnectioninstance.- Specified by:
configurein interfaceorg.apache.hadoop.security.authentication.client.ConnectionConfigurator- Parameters:
conn- theHttpURLConnectioninstance to configure.- Returns:
- the configured
HttpURLConnectioninstance.
-