qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Ritchie <ritch...@apache.org>
Subject Re: svn commit: r904566 - /qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/network/ConnectionBinding.java
Date Mon, 01 Feb 2010 18:47:05 GMT
Rajith,

Can we have some tests to validate the these new SASL connections?

Cheers

Martin

On 29 January 2010 17:30,  <rajith@apache.org> wrote:
> Author: rajith
> Date: Fri Jan 29 17:30:39 2010
> New Revision: 904566
>
> URL: http://svn.apache.org/viewvc?rev=904566&view=rev
> Log:
> Corrected a mistake I made in rev904375
>
> Modified:
>    qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/network/ConnectionBinding.java
>
> Modified: qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/network/ConnectionBinding.java
> URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/network/ConnectionBinding.java?rev=904566&r1=904565&r2=904566&view=diff
> ==============================================================================
> --- qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/network/ConnectionBinding.java
(original)
> +++ qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/network/ConnectionBinding.java
Fri Jan 29 17:30:39 2010
> @@ -72,7 +72,7 @@
>     {
>         Connection conn = connection();
>
> -        if (conn.getConnectionSettings() != null &
> +        if (conn.getConnectionSettings() != null &&
>             conn.getConnectionSettings().isUseSASLEncryption())
>         {
>             sender = new SASLSender(sender);
> @@ -87,7 +87,7 @@
>
>     public Receiver<ByteBuffer> receiver(Connection conn)
>     {
> -        if (conn.getConnectionSettings() != null &
> +        if (conn.getConnectionSettings() != null &&
>             conn.getConnectionSettings().isUseSASLEncryption())
>         {
>             SASLReceiver receiver = new SASLReceiver(new InputHandler(new Assembler(conn)));
>
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:commits-subscribe@qpid.apache.org
>
>



-- 
Martin Ritchie

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


Mime
View raw message