[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


 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.



 Comments   
Comment by Gary Russell [ 02/Jan/13 ]

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

Generated at Mon May 25 02:55:27 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.