Package org.jgroups.protocols
Interface SSL_KEY_EXCHANGE.SessionVerifier
-
- All Known Implementing Classes:
CertficateCNMatcher
- Enclosing class:
- SSL_KEY_EXCHANGE
public static interface SSL_KEY_EXCHANGE.SessionVerifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(java.lang.String arg)
Called after creation with session_verifier_argvoid
verify(javax.net.ssl.SSLSession session)
Called to verify that the session is correct, e.g.
-
-
-
Method Detail
-
init
void init(java.lang.String arg)
Called after creation with session_verifier_arg
-
verify
void verify(javax.net.ssl.SSLSession session) throws java.lang.SecurityException
Called to verify that the session is correct, e.g. by matching the peer's certificate-CN. Needs to throw a SecurityException if not- Throws:
java.lang.SecurityException
-
-