mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Gustavsson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FTPSERVER-346) loadStore method in SslConfigurationFactory should be protected to allow overriding
Date Wed, 27 Jan 2010 08:03:34 GMT

    [ https://issues.apache.org/jira/browse/FTPSERVER-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805403#action_12805403
] 

Niklas Gustavsson commented on FTPSERVER-346:
---------------------------------------------

Out of interest, could you describe a bit further what you do? More specifically, do you create
a key dynamically? As far as I understand, a the server would need to have a key pair to start
establishing the SSL socket.

> loadStore method in SslConfigurationFactory should be protected to allow overriding
> -----------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-346
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-346
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 1.0.3
>         Environment: Windows XP
>            Reporter: Cath Gibbons
>            Priority: Minor
>   Original Estimate: 0.03h
>  Remaining Estimate: 0.03h
>
> The loadStore method in the SslConfigurationFactory class only deals with
> the case when the Keystore file actually exists at runtime.
> I am using the Apache FTP Server 1.0.3 on Windows XP to run an embedded server that does
not have an existing Keystore file at runtime. Rather, it generates a temporary Keystore file
using the Keystore load method with a null argument as InputStream.
> Since I could not override just the loadStore method that is declared "private", I had
to copy the entire createSslConfiguration method in order to call my own loadStore.
> Why not make the loadStore protected to allow for it to be overriden?
> Thanks!

-- 
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