mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miroslav Pokorny (JIRA)" <j...@apache.org>
Subject [jira] Created: (VYSPER-255) XMPPServer.setTLSCertificateInfo(File) should be replaced or another overloaded added that takes a InputStream.
Date Wed, 01 Dec 2010 02:58:10 GMT
XMPPServer.setTLSCertificateInfo(File) should be replaced or another overloaded added that
takes a InputStream.
---------------------------------------------------------------------------------------------------------------

                 Key: VYSPER-255
                 URL: https://issues.apache.org/jira/browse/VYSPER-255
             Project: VYSPER
          Issue Type: Improvement
         Environment: n/a
            Reporter: Miroslav Pokorny
             Fix For: 0.6


When setting up a server it is required to set the tls cert but the only way to supply the
cert is via a File which is limiting. I would like to suggest that an extra overload setTLSConnectionInfo(InputStream
cert, String password) be created, with perhaps the File version removed at the very least.
        final XMPPServer server = new XMPPServer(HOST.address());
        ...
        final File certificate = this.fileWithCertification();
        server.setTLSCertificateInfo(certificate, "boguspw");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message