SSLConfigurable.java (logback-1.2.3) | : | SSLConfigurable.java (logback-v_1.2.7) | ||
---|---|---|---|---|
skipping to change at line 24 | skipping to change at line 24 | |||
package ch.qos.logback.core.net.ssl; | package ch.qos.logback.core.net.ssl; | |||
/** | /** | |||
* An object that has configurable SSL parameters. | * An object that has configurable SSL parameters. | |||
* <p> | * <p> | |||
* This interface allows us o decouple the {@link SSLParametersConfiguration} | * This interface allows us o decouple the {@link SSLParametersConfiguration} | |||
* from {@link SSLSocket} and {@link SSLServerSocket} to facilitate unit | * from {@link SSLSocket} and {@link SSLServerSocket} to facilitate unit | |||
* testing. | * testing. | |||
* | * | |||
* @author Carl Harris | * @author Carl Harris | |||
* @author Bruno Harbulot | ||||
*/ | */ | |||
public interface SSLConfigurable { | public interface SSLConfigurable { | |||
/** | /** | |||
* Gets the set of protocols that the SSL component enables by default. | * Gets the set of protocols that the SSL component enables by default. | |||
* | * | |||
* @return protocols (generally a subset of the set returned by | * @return protocols (generally a subset of the set returned by | |||
* {@link #getSupportedProtocols()}); the return value may be | * {@link #getSupportedProtocols()}); the return value may be | |||
* an empty array but must never be {@code null}. | * an empty array but must never be {@code null}. | |||
*/ | */ | |||
skipping to change at line 85 | skipping to change at line 86 | |||
*/ | */ | |||
void setNeedClientAuth(boolean state); | void setNeedClientAuth(boolean state); | |||
/** | /** | |||
* Sets a flag indicating whether the SSL component should request | * Sets a flag indicating whether the SSL component should request | |||
* client authentication. | * client authentication. | |||
* @param state the flag state to set | * @param state the flag state to set | |||
*/ | */ | |||
void setWantClientAuth(boolean state); | void setWantClientAuth(boolean state); | |||
void setHostnameVerification(boolean verifyHostname); | ||||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added |