Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345679 - Allow setting an initialized KeyStore as keystore/truststore of SslContextFactory
Summary: Allow setting an initialized KeyStore as keystore/truststore of SslContextFac...
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 345658 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-12 20:39 EDT by Michael Gorovoy CLA
Modified: 2011-05-16 23:34 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gorovoy CLA 2011-05-12 20:39:29 EDT
Currently it is not possible to set an initialized KeyStore as keystore/truststore of SslContextFactory. As a result, it is not possible to use a KeyStore that is not being loaded from a file or stream.

This enhancement will provide a way to set a fully initialized KeyStore as keystore/truststore, as well as provide methods that could be overridden by subclasses to do the same.

It will also provide a way to load keystore/truststore specified using Resource object, as a result the methods that supply an input stream directly would be deprecated.
Comment 1 Michael Gorovoy CLA 2011-05-12 20:44:09 EDT
*** Bug 345658 has been marked as a duplicate of this bug. ***
Comment 2 Michael Gorovoy CLA 2011-05-12 22:59:05 EDT
Committed r3132
Comment 3 Gunnar Wagenknecht CLA 2011-05-13 01:45:30 EDT
Will this be part of the Indigo release?
Comment 4 Greg Wilkins CLA 2011-05-16 23:34:47 EDT
Gunnar,

I think there is a chance that 7.4.1 will make it into indigo