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

Disabling node tracking prevents local clear cache

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.3.0.1
    • Fix Version/s: EJBCA 7.3.1, EJBCA 7.3.0.1
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Integration
    • Sprint:
      EJBCA Team Bob - 2019 w42

      Description

      org.ejbca.ui.web.pub.ClearCacheServlet.acceptedHost(String) will only check if the remote host is localhost/127.0.0.1 when there are tracked nodes in GlobalConfiguration.

      This is both inefficient and breaks clear cache functionality when node-tracking is disabled.

      Similarly, the AdminGUI will not invoke any clear cache Servlet if node tracking is disabled. (Refactor it at the same time to do a local EJB call that is agnostic of hostnames and exposed ports.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              johan Johan Eklund
              Reporter:
              johan Johan Eklund
              Verified by:
              Bastian Fredriksson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: