public class ComponentSSLConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
ComponentSSLConfiguration()
Singleton constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getTruststorePassword()
Get the truststore password.
|
String |
getTruststorePath()
Get the truststore path.
|
String |
getTruststoreType()
Get the truststore type.
|
void |
init(Configuration configuration)
Initialize with the given configuration.
|
static ComponentSSLConfiguration |
instance()
Get the singleton instance.
|
boolean |
isHttpsEnabled()
Indicates whether or not Ambari Metrics is setup for SSL.
|
protected ComponentSSLConfiguration()
public void init(Configuration configuration)
configuration
- the configurationpublic String getTruststorePath()
public String getTruststorePassword()
public String getTruststoreType()
public boolean isHttpsEnabled()
public static ComponentSSLConfiguration instance()
Copyright © 2022 Apache Software Foundation. All rights reserved.