[jboss-jira] [JBoss JIRA] (ELY-587) SSLContext integration into DirContext supplier service

Jan Kalina (JIRA) issues at jboss.org
Sat Aug 13 14:49:00 EDT 2016


    [ https://issues.jboss.org/browse/ELY-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278816#comment-13278816 ] 

Jan Kalina edited comment on ELY-587 at 8/13/16 2:48 PM:
---------------------------------------------------------

*How to pass SSLContext into DirContext:*
http://docs.oracle.com/javase/jndi/tutorial/ldap/security/ssl.html (Using Custom Sockets)
Problem:
*How to decide in CustomSocketFactory, which DirContext it is?*
what happens with socketFactory is described here:
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/com/sun/jndi/ldap/Connection.java#285


was (Author: honza889):
Note: how to pass SSLContext into DirContext:
http://docs.oracle.com/javase/jndi/tutorial/ldap/security/ssl.html (Using Custom Sockets)
Problem:
How to decide in CustomSocketFactory, which DirContext it is?
what happens with socketFactory is described here:
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/com/sun/jndi/ldap/Connection.java#285

> 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