< prev index next >
src/java.naming/share/classes/com/sun/jndi/ldap/ext/StartTlsResponseImpl.java
Print this page
*** 295,305 ****
/*
* Returns the default SSL socket factory.
*
* @return The default SSL socket factory.
! * @throw IOException If TLS is not supported.
*/
private SSLSocketFactory getDefaultFactory() throws IOException {
if (defaultFactory != null) {
return defaultFactory;
--- 295,305 ----
/*
* Returns the default SSL socket factory.
*
* @return The default SSL socket factory.
! * @throws IOException If TLS is not supported.
*/
private SSLSocketFactory getDefaultFactory() throws IOException {
if (defaultFactory != null) {
return defaultFactory;
*** 312,322 ****
/*
* Start the TLS handshake and manipulate the input and output streams.
*
* @param factory The SSL socket factory to use.
* @return The SSL socket.
! * @throw IOException If an exception occurred while performing the
* TLS handshake.
*/
private SSLSocket startHandshake(SSLSocketFactory factory)
throws IOException {
--- 312,322 ----
/*
* Start the TLS handshake and manipulate the input and output streams.
*
* @param factory The SSL socket factory to use.
* @return The SSL socket.
! * @throws IOException If an exception occurred while performing the
* TLS handshake.
*/
private SSLSocket startHandshake(SSLSocketFactory factory)
throws IOException {
< prev index next >