[INT-2868] DefaultTcpSSLContextSupport Should Use a PathMatchingResourcePatternResolver Created: 28/Dec/12 Updated: 25/Jan/13 Resolved: 18/Jan/13
|Affects Version/s:||2.2. GA|
|Fix Version/s:||3.0 M1, 2.2.1|
|Reporter:||Gary Russell||Assignee:||Gary Russell|
|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 ]|