Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-430

Can't login to POP3S Server using explicit mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0.1
    • 3.1
    • POP3
    • None

    Description

      Login fails if using explizit mode as the reader and writer remain the same after STLS command.
      Take a look at https://issues.apache.org/jira/browse/NET-421 - it's nearly the same bug.

      Bugfix for POP3SClient.java:

      private void performSSLNegotiation() throws IOException
      {
         ...    
          _reader = new CRLFLineReader(new InputStreamReader(_input_, __DEFAULT_ENCODING));
          __writer = new BufferedWriter(new OutputStreamWriter(_output_, __DEFAULT_ENCODING));
      }

      Therefore you have to change some variables in POP3.java from private to protected.

      Attachments

        Activity

          People

            Unassigned Unassigned
            toemmi Thomas Mathis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: