Package org.wildfly.security.ssl
Class SNIContextMatcher
- java.lang.Object
-
- org.wildfly.security.ssl.SNIContextMatcher
-
public class SNIContextMatcher extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SNIContextMatcher.Builder
-
Field Summary
Fields Modifier and Type Field Description private SSLContext
defaultContext
private Map<SNIMatcher,SSLContext>
exacts
private Map<SNIMatcher,SSLContext>
wildcards
-
Constructor Summary
Constructors Constructor Description SNIContextMatcher(SSLContext defaultContext, Map<SNIMatcher,SSLContext> wildcards, Map<SNIMatcher,SSLContext> exacts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLContext
getContext(List<SNIServerName> servers)
SSLContext
getDefaultContext()
-
-
-
Field Detail
-
defaultContext
private final SSLContext defaultContext
-
wildcards
private final Map<SNIMatcher,SSLContext> wildcards
-
exacts
private final Map<SNIMatcher,SSLContext> exacts
-
-
Constructor Detail
-
SNIContextMatcher
SNIContextMatcher(SSLContext defaultContext, Map<SNIMatcher,SSLContext> wildcards, Map<SNIMatcher,SSLContext> exacts)
-
-
Method Detail
-
getContext
public SSLContext getContext(List<SNIServerName> servers)
-
getDefaultContext
public SSLContext getDefaultContext()
-
-