Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-9108

Rewrite DistinguishedName.java for DN merging

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      DistinguishedName.java have a simple task, to merge two DNs, with or without forcing overrride. It is however really complex and cumbersome. It could probably be rewritten in a couple of lines. We don't need to inherit LdapName imho, it just complicates things.

      We have other helper classes with utility methods, like DNFIeldsUtil, DNFieldExtractor (perhaps too complex as well), DNFieldDescriber, DnComponents.

      Just retire this class. There are JUnit test to test this class's behavior that can be used to test a new implementation. DistinguishedNameTest, EndEntityInformationFillerTest, EndEntityManagementSessionTest.test07MergeWithWS.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tomas Tomas Gustavsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified