Class SSLContextFactory
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.SSLContextFactory
-
public class SSLContextFactory extends Object
Default class for retrieving a newSSLContext
instance.
-
-
Constructor Summary
Constructors Constructor Description SSLContextFactory(SecurityConfig conf)
Creates a newSSLContextFactory
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLContext
getSSLContext()
Gets theSSLContext
instance using the specified configuration.X509TrustManager
getTrustManager()
-
-
-
Constructor Detail
-
SSLContextFactory
public SSLContextFactory(SecurityConfig conf)
Creates a newSSLContextFactory
instance.- Parameters:
conf
- theSecurityConfig
instance.
-
-
Method Detail
-
getSSLContext
public SSLContext getSSLContext()
Gets theSSLContext
instance using the specified configuration.- Returns:
- a new
SSLContext
instance.
-
getTrustManager
public X509TrustManager getTrustManager()
-
-