Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7473

Missing configurable options in elytron dir-context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 11.0.0.Alpha1
    • None
    • Security
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: