Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345679

Summary: Allow setting an initialized KeyStore as keystore/truststore of SslContextFactory
Product: [RT] Jetty Reporter: Michael Gorovoy <mgorovoy>
Component: serverAssignee: Michael Gorovoy <mgorovoy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: clajoie, gregw, gunnar, jetty-inbox
Version: 7.4.0   
Target Milestone: 7.2.x   
Hardware: All   
OS: All   
Whiteboard:

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