Package org.wildfly.security.ssl
Class SNIContextMatcher
- java.lang.Object
-
- org.wildfly.security.ssl.SNIContextMatcher
-
public class SNIContextMatcher extends Object
A class which returns a matching SSL context based on the SNI server list provided.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSNIContextMatcher.BuilderA class which allows building and configuration SNIContextMatcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLContextgetContext(List<SNIServerName> servers)Used for finding the matching servers from the server list.SSLContextgetDefaultContext()
-
-
-
Method Detail
-
getContext
public SSLContext getContext(List<SNIServerName> servers)
Used for finding the matching servers from the server list. Firstly, the exacts are matched, if not found, wildcards are tried.
-
getDefaultContext
public SSLContext getDefaultContext()
-
-