[INT-2868] DefaultTcpSSLContextSupport Should Use a PathMatchingResourcePatternResolver Created: 28/Dec/12  Updated: 25/Jan/13  Resolved: 18/Jan/13

Status: Closed
Project: Spring Integration
Component/s: TCP/UDP Support
Affects Version/s: 2.2. GA
Fix Version/s: 3.0 M1, 2.2.1

Type: Bug Priority: Minor
Reporter: Gary Russell Assignee: Gary Russell
Resolution: Complete Votes: 0
Labels: PullRequest
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


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.

Comment by Gary Russell [ 02/Jan/13 ]

PR: https://github.com/SpringSource/spring-integration/pull/697

Generated at Fri Nov 15 02:57:33 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.