directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (DIRSTUDIO-1015) Question about the closing of TLS connection in Apache Directory Studio
Date Wed, 11 Mar 2015 14:09:38 GMT

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny reopened DIRSTUDIO-1015:
------------------------------------------

Wrongly closed this issue

> Question about the closing of TLS connection in Apache Directory Studio
> -----------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1015
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1015
>             Project: Directory Studio
>          Issue Type: Question
>            Reporter: alexander todorov
>
> Hi, 
> I am looking in the sources of Apache Directory Studio and I have a question.
> In the class 
> org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper
> I see that in the method disconnect, the connection is closed only by invoking of context.close()
(context is of type InitialLdapContext).
> My question is:
> In case of using of StartTLS  extension why don’t you call StartTlsResponse.close()
prior to context.close() ? 
> StartTlsResponse.close() sends the TLS alert -  close_notify.
> Is it safe not to call StartTlsResponse.close() ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message