Commons Net
  1. Commons Net
  2. NET-430

Can't login to POP3S Server using explicit mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: POP3
    • Labels:
      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.

        Activity

        Thomas Mathis created issue -
        Sebb made changes -
        Field Original Value New Value
        Summary Can't login to POP3S Server using explizit mode Can't login to POP3S Server using explicit mode
        Sebb made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.1 [ 12317744 ]
        Resolution Fixed [ 1 ]
        Sebb made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        36d 10h 39m 1 Sebb 05/Jan/12 19:08
        Resolved Resolved Closed Closed
        55d 1h 27m 1 Sebb 29/Feb/12 20:35

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Mathis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development