[jboss-jira] [JBoss JIRA] (WFLY-7720) Expose generic options for elytron dir-context

Darran Lofthouse (JIRA) issues at jboss.org
Thu Jan 12 13:59:00 EST 2017


     [ https://issues.jboss.org/browse/WFLY-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse updated WFLY-7720:
-----------------------------------
    Affects Version/s:     (was: 11.0.0.Alpha1)


> Expose generic options for elytron dir-context
> ----------------------------------------------
>
>                 Key: WFLY-7720
>                 URL: https://issues.jboss.org/browse/WFLY-7720
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Martin Choma
>            Assignee: Jan Kalina
>            Priority: Critical
>             Fix For: 11.0.0.Alpha1
>
>
> Expose generic options like in case of legacy ldap outbound connection. Users relying on them can't migrate to elytron.
> As [~tfonteyn] has already [pointed out|https://issues.jboss.org/browse/JBEAP-6480?focusedCommentId=13312043&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13312043] customers use generic options exposed by legacy ldap outbound connection.
> Here are references to possible properties to be configured
> * [General properties|http://docs.oracle.com/javase/jndi/tutorial/beyond/env/overview.html]
> * Service-specific
> ** e.g. java.naming.ldap.* , for example for [connection pool configuration|http://docs.oracle.com/javase/jndi/tutorial/ldap/connect/config.html] 
> * Feature-specific
> ** e.g. [java.naming.security.sasl.*|http://docs.oracle.com/javase/jndi/tutorial/ldap/security/sasl.html] 
> * Provider-specific
> ** e.g. com.sun.jndi.ldap.trace.ber 
>  
> AFAICT it is already prepared in elytron, just elytron-subsystem part is missing.  
> {code:title=SimpleDirContextFactoryBuilder.java}
>             // set any additional connection property
>             if (connectionProperties != null) {
>                 for (Object key : connectionProperties.keySet()) {
>                     Object value = connectionProperties.get(key.toString());
>                     if (value != null) {
>                         env.put(key.toString(), value.toString());
>                     }
>                 }
>             }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list