Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6883

Missing configurable options in elytron dir-context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR9
    • 7.1.0.DR7
    • Security
    • None

      Elytron subsystem does not expose possibility to configure InitialLdapContext options:

      • com.sun.jndi.ldap.read.timeout
      • com.sun.jndi.ldap.connect.timeout

      Consider exposing general options like in case of legacy ldap outbound connection. Users relying on them could have problem to migrate to elytron.
      AFAICT it is already prepared in elytron, just elytron-subsystem part is missing.

      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());
                          }
                      }
                  }
      

              jkalina@redhat.com Jan Kalina (Inactive)
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: