You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (Updated) (JIRA)" <ji...@apache.org> on 2012/02/20 17:01:35 UTC

[jira] [Updated] (QPID-1505) PlainSaslServer throws and immediately catches and wraps Sasl Exception

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

Rob Godfrey updated QPID-1505:
------------------------------

    Status: Ready To Review  (was: In Progress)
    
> PlainSaslServer throws and immediately catches and wraps Sasl Exception
> -----------------------------------------------------------------------
>
>                 Key: QPID-1505
>                 URL: https://issues.apache.org/jira/browse/QPID-1505
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Rob Godfrey
>            Priority: Minor
>
> Summary:
> in evaluateResponse Line 94 throws a SaslException saying Authentication Failed but this is then immediately caught on line 97 as SaslException extends IOException. Where by the SaslException is Wrapped in a new SaslException and thrown.
> We probably don't want to do this, something simple like moving the if....else... out of the try...catch would suffice.

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

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org