Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 2.2. GA
-
Component/s: TCP/UDP Support
-
Labels:
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.