Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5169

Migrate all tests to use version AM26 of Apache DS

XMLWordPrintable

      We are presently using version M24 so should upgrade all tests to AM26.

      All testsuite poms should be checked to ensure we bring in individual dependencies and not the shaded ApacheDS artefact as that shades in other packages such as bouncycastle which conflict with the version we pull in.

      It may be time for a single common LDAP project in our testsuite to act as an aggregation point / holding point for our various utilities. As we move to later versions quite often the APIs change so a central point to deal with these changes will be cleaner.

      Couple of known issues to work through:
      ApacheDS expects the KeyStore to only contain a single entry, it may be sufficient to remove the CA certificate from the KeyStore.

      The APIs to configure the cache have been removed, it appears these lines can just be removed from our initialisation.

      At this point there are new test failures that will need to be debugged, the first being filtered attributes are added to the attribute map twice - not sure if this is an ApacheDS bug or something Elytron should handle better.

      Two further tests also start to fail but I have not debugged them yet.

       

      -------------------------

      Update:

      We are presently using version M24. There was previously an attempt to upgrade to AM26 (WFCORE-5169), but WFCORE-5432 caught an error using IBM JDK 8.  This error is reported in the apache project here.

      A fix has been merged to the apache project which uses bouncycastle as opposed to java jdk libraries for certificate creation. The fix will  be released in AM27, so this issue tracks upgrading to AM27 once it is released. 

              istudens@redhat.com Ivo Studensky
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: