Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-346

loadStore method in SslConfigurationFactory should be protected to allow overriding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.3
    • None
    • Server
    • None
    • Windows XP

    Description

      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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            pulcino Cath Gibbons
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2m
                2m
                Remaining:
                Remaining Estimate - 2m
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified