You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/05 20:08:39 UTC

[jira] [Resolved] (NET-430) Can't login to POP3S Server using explicit mode

     [ https://issues.apache.org/jira/browse/NET-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-430.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.1
    
> Can't login to POP3S Server using explicit mode
> -----------------------------------------------
>
>                 Key: NET-430
>                 URL: https://issues.apache.org/jira/browse/NET-430
>             Project: Commons Net
>          Issue Type: Bug
>          Components: POP3
>    Affects Versions: 3.0.1
>            Reporter: Thomas Mathis
>            Priority: Blocker
>             Fix For: 3.1
>
>
> 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:
> {noformat}private void performSSLNegotiation() throws IOException
> {
>    ...    
>     _reader = new CRLFLineReader(new InputStreamReader(_input_, __DEFAULT_ENCODING));
>     __writer = new BufferedWriter(new OutputStreamWriter(_output_, __DEFAULT_ENCODING));
> }{noformat} 
> Therefore you have to change some variables in POP3.java from private to protected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira