public class MWSSLDefaultConfig extends java.lang.Object implements MWSSLConfig
MWSSLConfig interface. This is used while creating an instance
of MWHttpClient when there is no user defined implementation of MWSSLConfig interface.| Constructor and Description |
|---|
MWSSLDefaultConfig() |
| Modifier and Type | Method and Description |
|---|---|
javax.net.ssl.HostnameVerifier |
getHostnameVerifier()
Returns the default implementation of
HostnameVerifier interface. |
MWSSLServerAuthorizer |
getServerAuthorizer()
Returns the default implementation for extra level of server authorization.
|
javax.net.ssl.SSLContext |
getSSLContext()
Returns the default
SSLContext obtained by the call to
SSLContext.getDefault() |
public javax.net.ssl.SSLContext getSSLContext()
SSLContext obtained by the call to
SSLContext.getDefault()getSSLContext in interface MWSSLConfigSSLContextpublic javax.net.ssl.HostnameVerifier getHostnameVerifier()
HostnameVerifier interface. The default implementation
of the verify method of this interface returns false if the hostname does not match
the Common Name (CN) in the server certificate else it return true.getHostnameVerifier in interface MWSSLConfigHostnameVerifierpublic MWSSLServerAuthorizer getServerAuthorizer()
getServerAuthorizer in interface MWSSLConfigCopyright 2010-2022 The MathWorks, Inc.