Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359292 - SslContextFactory: setKeystoreInputStream should be better documented or not deprecated
Summary: SslContextFactory: setKeystoreInputStream should be better documented or not ...
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 7.5.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 15:00 EDT by Max Harper CLA
Modified: 2011-10-19 00:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Harper CLA 2011-09-28 15:00:50 EDT
Build Identifier: 7.4.5

I would like to configure a SslContextFactory with a keystore that's stored in a database.  Therefore, I cannot (easily) use the setKeystore(String) method, which assumes a path on the file system.  On the other hand, it works great to use the setKeystoreInputStream method, but that's been deprecated.

Depending on the "correct" solution, one of the following would be useful:
1. Document the preferred code for this situation path near the @deprecated annotation
2. De-deprecate this method.

See also http://markmail.org/thread/ej2ek46dpnixtqxv


Reproducible: Always
Comment 1 Greg Wilkins CLA 2011-10-19 00:21:40 EDT
the setKeyStore(KeyStore) method has been made to work correctly.