public class SSLConfig extends Object
Constructor and Description |
---|
SSLConfig(boolean useSSL,
boolean clientAuth,
String keyStore,
String keyStorePassword,
String trustStore,
String trustStorePassword) |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jetty.util.ssl.SslContextFactory |
createContextFactory(SSLConfig sslConfig) |
String |
getKeyStore() |
String |
getKeyStorePassword() |
String |
getTrustStore() |
String |
getTrustStorePassword() |
boolean |
isClientAuthMode() |
boolean |
isSSLMode() |
void |
setClientAuth(boolean clientAuth) |
void |
setUseSSL(boolean useSSL) |
public void setUseSSL(boolean useSSL)
public void setClientAuth(boolean clientAuth)
public boolean isSSLMode()
public boolean isClientAuthMode()
public String getKeyStore()
public String getKeyStorePassword()
public String getTrustStore()
public String getTrustStorePassword()
public static org.eclipse.jetty.util.ssl.SslContextFactory createContextFactory(SSLConfig sslConfig)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.