Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-4077

JASPA: Fix Port check regression and make it work in non sso only mode.

    XMLWordPrintable

    Details

      Description

      Port checking, if enabled, just won't work. This is because I have introduced a bug in the code, namely erroneously changing:

                      if((portMap == null) || (portMap.size() == 0)) {
                          throw new AgentException(
                              "No default port mapping specified");
                      }
      

      to:

                  if (Utils.isNotEmpty(portMap)) {
                      logError("PortCheckTaskHandler: No default port mapping specified, see property {}",
                              PORT_CHECK_MAP.getPath());
                      enabled = false;
                      return;
                  }
      

      Also, in the original code, port checking is only ever enabled in SSO_ONLY mode, whereas now it seems to be permanently enabled whenever the appropriate property is enabled.

        Attachments

          Activity

            People

            Assignee:
            kamal.sivanandam@forgerock.com Kamal Sivanandam
            Reporter:
            tony.bamford Tony Bamford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: