Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2868

DefaultTcpSSLContextSupport Should Use a PathMatchingResourcePatternResolver

    XMLWordPrintable

    Details

      Description

      The keystore and truststore paths are supplied to this class as Strings, and, for each, a ClassPathResource is created from the String. The documentation states that you can override this default behavior by using, for example "file:" as a prefix.

      This does not work without using a PathMatchingResourcePatternResolver to resolve to a Resource of the appropriate type.

      In 3.0, we should consider changing the ctor to take Resource objects instead of Strings.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: