public class SSLFilter
extends org.apache.mina.filter.ssl.SslFilter
SslFilter that applies
some adaptations.| Constructor and Description |
|---|
SSLFilter(SSLContext sslContext) |
SSLFilter(SSLContext sslContext,
boolean autoStart) |
| Modifier and Type | Method and Description |
|---|---|
void |
onPreAdd(org.apache.mina.core.filterchain.IoFilterChain parent,
String name,
org.apache.mina.core.filterchain.IoFilter.NextFilter nextFilter)
Called before filter is added into the chain.
|
void |
setCipherSuites(String[] cipherSuites) |
void |
setEnabledCipherSuites(String[] cipherSuites)
Called from
SslFilter.onPreAdd(org.apache.mina.core.filterchain.IoFilterChain, java.lang.String, org.apache.mina.core.filterchain.IoFilter.NextFilter) every time a new
session is created which makes it impossible to override enabled cipher
suites configuration. |
void |
setUseSNI(boolean useSNI) |
exceptionCaught, filterClose, filterWrite, getEnabledCipherSuites, getEnabledProtocols, getSslSession, initiateHandshake, isNeedClientAuth, isSecured, isSslStarted, isUseClientMode, isWantClientAuth, messageReceived, messageSent, onPostAdd, onPreRemove, sessionClosed, setEnabledProtocols, setNeedClientAuth, setUseClientMode, setWantClientAuth, startSsl, stopSslpublic SSLFilter(SSLContext sslContext, boolean autoStart)
public SSLFilter(SSLContext sslContext)
public void setEnabledCipherSuites(String[] cipherSuites)
SslFilter.onPreAdd(org.apache.mina.core.filterchain.IoFilterChain, java.lang.String, org.apache.mina.core.filterchain.IoFilter.NextFilter) every time a new
session is created which makes it impossible to override enabled cipher
suites configuration.setEnabledCipherSuites in class org.apache.mina.filter.ssl.SslFilterpublic void setCipherSuites(String[] cipherSuites)
public void onPreAdd(org.apache.mina.core.filterchain.IoFilterChain parent,
String name,
org.apache.mina.core.filterchain.IoFilter.NextFilter nextFilter)
throws SSLException
onPreAdd in interface org.apache.mina.core.filterchain.IoFilteronPreAdd in class org.apache.mina.filter.ssl.SslFilterSSLExceptionpublic void setUseSNI(boolean useSNI)
Copyright © 2021. All rights reserved.