[jboss-jira] [JBoss JIRA] (ELY-587) SSLContext integration into DirContext supplier service
Jan Kalina (JIRA)
issues at jboss.org
Thu Aug 25 14:06:00 EDT 2016
[ https://issues.jboss.org/browse/ELY-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284467#comment-13284467 ]
Jan Kalina commented on ELY-587:
--------------------------------
In the end ThreadLocal variable is used. I was worry about possible auto-reconnect inside of DirContext - as the ThreadLocal variable is set only during DirContext construction/reconnect() method call, auto-reconnect after TCP connection breaking would fail - variable would not be set and would not be posible to determine for which DirContext should be SSLSocketFactory provided.
*This risk was disproved* by experiment - standard DirContext doesnt reconnect interrupted TCP connections - it throws *CommunicationException: connection closed* exception instead. (which is OK)
> SSLContext integration into DirContext supplier service
> -------------------------------------------------------
>
> Key: ELY-587
> URL: https://issues.jboss.org/browse/ELY-587
> Project: WildFly Elytron
> Issue Type: Task
> Components: SSL
> Reporter: Jan Kalina
> Assignee: Jan Kalina
>
> * we already have a resource to define the SSLContext
> * we want use it for connection to LDAP
> * resource of DirContext supplier (see ELY-462) should reference SSLContext resource / capability
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list