]
Sonia Zaldana reassigned WFCORE-5169:
-------------------------------------
Assignee: Sonia Zaldana
Migrate all tests to use version AM26 of Apache DS
--------------------------------------------------
Key: WFCORE-5169
URL:
https://issues.redhat.com/browse/WFCORE-5169
Project: WildFly Core
Issue Type: Bug
Components: Security, Test Suite
Reporter: Darran Lofthouse
Assignee: Sonia Zaldana
Priority: Major
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.