SSLConfigurableServerSocket.java (logback-1.2.3) | : | SSLConfigurableServerSocket.java (logback-v_1.2.7) | ||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
* as published by the Free Software Foundation. | * as published by the Free Software Foundation. | |||
*/ | */ | |||
package ch.qos.logback.core.net.ssl; | package ch.qos.logback.core.net.ssl; | |||
import javax.net.ssl.SSLServerSocket; | import javax.net.ssl.SSLServerSocket; | |||
/** | /** | |||
* An {@link SSLConfigurable} wrapper for an {@link SSLServerSocket}. | * An {@link SSLConfigurable} wrapper for an {@link SSLServerSocket}. | |||
* | * | |||
* @author Carl Harris | * @author Carl Harris | |||
* @author Bruno Harbulot | ||||
*/ | */ | |||
public class SSLConfigurableServerSocket implements SSLConfigurable { | public class SSLConfigurableServerSocket implements SSLConfigurable { | |||
private final SSLServerSocket delegate; | private final SSLServerSocket delegate; | |||
public SSLConfigurableServerSocket(SSLServerSocket delegate) { | public SSLConfigurableServerSocket(SSLServerSocket delegate) { | |||
this.delegate = delegate; | this.delegate = delegate; | |||
} | } | |||
public String[] getDefaultProtocols() { | public String[] getDefaultProtocols() { | |||
skipping to change at line 63 | skipping to change at line 64 | |||
} | } | |||
public void setNeedClientAuth(boolean state) { | public void setNeedClientAuth(boolean state) { | |||
delegate.setNeedClientAuth(state); | delegate.setNeedClientAuth(state); | |||
} | } | |||
public void setWantClientAuth(boolean state) { | public void setWantClientAuth(boolean state) { | |||
delegate.setWantClientAuth(state); | delegate.setWantClientAuth(state); | |||
} | } | |||
@Override | ||||
public void setHostnameVerification(boolean verifyHostname) { | ||||
// This is not relevant for a server socket | ||||
} | ||||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added |