qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cctriel...@apache.org
Subject svn commit: r681491 - in /incubator/qpid/trunk/qpid/cpp/src/qpid: acl/Acl.cpp broker/SessionAdapter.cpp
Date Thu, 31 Jul 2008 21:02:10 GMT
Author: cctrieloff
Date: Thu Jul 31 14:02:09 2008
New Revision: 681491

URL: http://svn.apache.org/viewvc?rev=681491&view=rev
Log:
small cleanup

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionAdapter.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp?rev=681491&r1=681490&r2=681491&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp Thu Jul 31 14:02:09 2008
@@ -62,7 +62,6 @@
       case QUEUE: return "Queue";
 	  case EXCHANGE: return "Exchnage";
 	  case ROUTINGKEY: return "RoutingKey";
-	  case SESSION: return "Session";
 	  default: return "Unknown";
 	  }
    }

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionAdapter.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionAdapter.cpp?rev=681491&r1=681490&r2=681491&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionAdapter.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionAdapter.cpp Thu Jul 31 14:02:09 2008
@@ -447,7 +447,7 @@
 	{
 	    // add flags as needed
  	    if (!acl->authorise(getConnection().getUserId(),acl::CONSUME,acl::QUEUE,queueName,NULL)
)
-	        throw NotAllowedException("ACL denied Session subscribe request");
+	        throw NotAllowedException("ACL denied Queue subscribe request");
     }
 
     Queue::shared_ptr queue = getQueue(queueName);



Mime
View raw message