[jira] Created: (QPID-2062) ACL processing does not handle wildcards correctly

2009-08-21 Thread Tim Platten (JIRA)
ACL processing does not handle wildcards correctly
--

 Key: QPID-2062
 URL: https://issues.apache.org/jira/browse/QPID-2062
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.5
Reporter: Tim Platten


There seems to be a problem processing wildcards in ACL. e.g.

ACL:
acl allow tes...@qpid unbind exchange  name=foo queuename=bar routingkey=foo.*

Command:
qpid-config -a tester/tes...@localhost unbind foo bar foo.bar

Broker:
2009-aug-21 11:47:42 info ACL Deny id:tes...@qpid action:unbind 
ObjectType:exchange Name:foo
2009-aug-21 11:47:42 error Execution exception: not-allowed: ACL denied 
exchange unbind request from tes...@qpid (qpid/broker/SessionAdapter.cpp:203)

I believe this is due to a bug in AclData::lookup
}else if (!matchProp(paramItr-second, pMItr-second)){
should read
}else if (!matchProp(pMItr-second, paramItr-second)){




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Created: (QPID-2063) ACL does not check queuename (or routingkey) on bind

2009-08-21 Thread Tim Platten (JIRA)
ACL does not check queuename (or routingkey) on bind


 Key: QPID-2063
 URL: https://issues.apache.org/jira/browse/QPID-2063
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.5
Reporter: Tim Platten


ACL allows binding to a queue to which access should be denied. e.g.

ACL:
acl deny  tes...@qpid all queue name=baz
acl allow tes...@qpid bind exchange name=foo queuename=bar routingkey=foo.bar

The following command succeed and it shouldn't
qpid-config -a baclo/ba...@localhost bind foo baz foo.bar

I believe this is because SessionAdapter::ExchangeHandlerImpl::bind is not 
checking either queueName or routingKey. I.e.
AclModule* acl = getBroker().getAcl();
if (acl) {
if 
(!acl-authorise(getConnection().getUserId(),acl::ACT_BIND,acl::OBJ_EXCHANGE,exchangeName,routingKey)
 )

should read:
AclModule* acl = getBroker().getAcl();
if (acl) {
std::mapacl::Property, std::string params;
params.insert(make_pair(acl::PROP_QUEUENAME, queueName));
params.insert(make_pair(acl::PROP_ROUTINGKEY, routingKey));
if 
(!acl-authorise(getConnection().getUserId(),acl::ACT_BIND,acl::OBJ_EXCHANGE,exchangeName,params)
 )


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Created: (QPID-2064) add python bindings for qmf (c++)

2009-08-21 Thread Ken Giusti (JIRA)
add python bindings for qmf (c++)
-

 Key: QPID-2064
 URL: https://issues.apache.org/jira/browse/QPID-2064
 Project: Qpid
  Issue Type: New Feature
  Components: python tools
Reporter: Ken Giusti
 Attachments: python_binding.diff

I've started adding python bindings for the C++ QMF code.  Work in progress - 
still chasing down a object reference bug.   
See attached diffs file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (QPID-2064) add python bindings for qmf (c++)

2009-08-21 Thread Ken Giusti (JIRA)

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

Ken Giusti updated QPID-2064:
-

Attachment: python_binding.diff

code complete - more testing required.
Some debug statements included - I'm tracing down a garbage collection issue.

 add python bindings for qmf (c++)
 -

 Key: QPID-2064
 URL: https://issues.apache.org/jira/browse/QPID-2064
 Project: Qpid
  Issue Type: New Feature
  Components: python tools
Reporter: Ken Giusti
 Attachments: python_binding.diff


 I've started adding python bindings for the C++ QMF code.  Work in progress - 
 still chasing down a object reference bug.   
 See attached diffs file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Assigned: (QPID-2064) add python bindings for qmf (c++)

2009-08-21 Thread Ted Ross (JIRA)

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

Ted Ross reassigned QPID-2064:
--

Assignee: Ted Ross

 add python bindings for qmf (c++)
 -

 Key: QPID-2064
 URL: https://issues.apache.org/jira/browse/QPID-2064
 Project: Qpid
  Issue Type: New Feature
  Components: python tools
Reporter: Ken Giusti
Assignee: Ted Ross
 Attachments: python_binding.diff


 I've started adding python bindings for the C++ QMF code.  Work in progress - 
 still chasing down a object reference bug.   
 See attached diffs file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support

2009-08-21 Thread Pete MacKinnon (JIRA)

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

Pete MacKinnon updated QPID-1918:
-

Attachment: (was: qpid-1918.patch)

 Patches/files for Windows QMF plug-in support
 -

 Key: QPID-1918
 URL: https://issues.apache.org/jira/browse/QPID-1918
 Project: Qpid
  Issue Type: New Feature
  Components: Qpid Managment Framework
 Environment: Windows XP SP3, VC++ 9.0
Reporter: Pete MacKinnon
Assignee: Steve Huston

 Various files for the Windows QMF plug-in support in cpp, based off revision: 
 785848
 Need Static builds (release and debug) for correct runtime integration with 
 Condor:
 src/broker.vcproj
 src/client.vcproj
 src/common.vcproj
 src/qmfagent.vcproj
 src/qmfconsole.vcproj
 src/qpid.sln
 src/qpidbroker.vcproj
 - Changed to provide compile flags required for header file integration of
 Posix types declared by both Qpid and Condor:
 src/qpid/sys/windows/IntegerTypes.h
 src/qpid/sys/windows/uuid.cpp
 src/qpid/sys/windows/uuid.h
 - Modified signature of PipeHandle ctor and fixed a Windows race condition in
 the processing loop:
 src/qpid/agent/ManagementAgentImpl.cpp
 - Refactored the pipe code so that Condor can get a true socket fd it can
 select on in daemon_core:
 src/qpid/sys/Pipehandle.h
 src/qpid/sys/posix/PipeHandle.cpp
 src/qpid/sys/windows/PipeHandle.cpp
 - Removed explicit dependency on Debug libs since we now have even more
 targets. Added Apache license:
 examples/qmf_agent.vcproj  
 - Added Apache license:
 src/protocol_gen.mak
 examples/qmf-agent/example_gen.mak
 - Updated QMF Agent example README:
 examples/README

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support

2009-08-21 Thread Pete MacKinnon (JIRA)

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

Pete MacKinnon updated QPID-1918:
-

Attachment: qpid-1918.patch

Added missing cpp/examples/CMakeLists.txt diff

 Patches/files for Windows QMF plug-in support
 -

 Key: QPID-1918
 URL: https://issues.apache.org/jira/browse/QPID-1918
 Project: Qpid
  Issue Type: New Feature
  Components: Qpid Managment Framework
 Environment: Windows XP SP3, VC++ 9.0
Reporter: Pete MacKinnon
Assignee: Steve Huston
 Attachments: qpid-1918.patch


 Various files for the Windows QMF plug-in support in cpp, based off revision: 
 785848
 Need Static builds (release and debug) for correct runtime integration with 
 Condor:
 src/broker.vcproj
 src/client.vcproj
 src/common.vcproj
 src/qmfagent.vcproj
 src/qmfconsole.vcproj
 src/qpid.sln
 src/qpidbroker.vcproj
 - Changed to provide compile flags required for header file integration of
 Posix types declared by both Qpid and Condor:
 src/qpid/sys/windows/IntegerTypes.h
 src/qpid/sys/windows/uuid.cpp
 src/qpid/sys/windows/uuid.h
 - Modified signature of PipeHandle ctor and fixed a Windows race condition in
 the processing loop:
 src/qpid/agent/ManagementAgentImpl.cpp
 - Refactored the pipe code so that Condor can get a true socket fd it can
 select on in daemon_core:
 src/qpid/sys/Pipehandle.h
 src/qpid/sys/posix/PipeHandle.cpp
 src/qpid/sys/windows/PipeHandle.cpp
 - Removed explicit dependency on Debug libs since we now have even more
 targets. Added Apache license:
 examples/qmf_agent.vcproj  
 - Added Apache license:
 src/protocol_gen.mak
 examples/qmf-agent/example_gen.mak
 - Updated QMF Agent example README:
 examples/README

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Issue Comment Edited: (QPID-1918) Patches/files for Windows QMF plug-in support

2009-08-21 Thread Pete MacKinnon (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12746240#action_12746240
 ] 

Pete MacKinnon edited comment on QPID-1918 at 8/21/09 4:00 PM:
---

Added missing cpp/examples/qmf-agent/CMakeLists.txt diff

  was (Author: pmackinn):
Added missing cpp/examples/CMakeLists.txt diff
  
 Patches/files for Windows QMF plug-in support
 -

 Key: QPID-1918
 URL: https://issues.apache.org/jira/browse/QPID-1918
 Project: Qpid
  Issue Type: New Feature
  Components: Qpid Managment Framework
 Environment: Windows XP SP3, VC++ 9.0
Reporter: Pete MacKinnon
Assignee: Steve Huston
 Attachments: qpid-1918.patch


 Various files for the Windows QMF plug-in support in cpp, based off revision: 
 785848
 Need Static builds (release and debug) for correct runtime integration with 
 Condor:
 src/broker.vcproj
 src/client.vcproj
 src/common.vcproj
 src/qmfagent.vcproj
 src/qmfconsole.vcproj
 src/qpid.sln
 src/qpidbroker.vcproj
 - Changed to provide compile flags required for header file integration of
 Posix types declared by both Qpid and Condor:
 src/qpid/sys/windows/IntegerTypes.h
 src/qpid/sys/windows/uuid.cpp
 src/qpid/sys/windows/uuid.h
 - Modified signature of PipeHandle ctor and fixed a Windows race condition in
 the processing loop:
 src/qpid/agent/ManagementAgentImpl.cpp
 - Refactored the pipe code so that Condor can get a true socket fd it can
 select on in daemon_core:
 src/qpid/sys/Pipehandle.h
 src/qpid/sys/posix/PipeHandle.cpp
 src/qpid/sys/windows/PipeHandle.cpp
 - Removed explicit dependency on Debug libs since we now have even more
 targets. Added Apache license:
 examples/qmf_agent.vcproj  
 - Added Apache license:
 src/protocol_gen.mak
 examples/qmf-agent/example_gen.mak
 - Updated QMF Agent example README:
 examples/README

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Created: (QPID-2065) New WCF channel using Qpid cpp client libraries

2009-08-21 Thread Cliff Jansen (JIRA)
New WCF channel using Qpid cpp client libraries
---

 Key: QPID-2065
 URL: https://issues.apache.org/jira/browse/QPID-2065
 Project: Qpid
  Issue Type: New Feature
Affects Versions: 0.6
 Environment: Microsoft Windows
Reporter: Cliff Jansen
 Attachments: cj

Client software is provided that leverages the existing Qpid C++ libraries to 
offer a rich programming environment and runtime support for .NET application 
developers on the Windows platform.

The initial focus is on an AMQP Windows Communication Foundation (WCF) channel 
with transaction support and full programmatic access to AMQP message 
properties. 

Follow on work will include broker management capabilities.

This first patch provides a basic WCF implementation that supports both 
WCF-to-WCF and WCF-to-non-WCF applications.

Functional tests and sample programs are further provided in related patches.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (QPID-2065) New WCF channel using Qpid cpp client libraries

2009-08-21 Thread Cliff Jansen (JIRA)

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

Cliff Jansen updated QPID-2065:
---

Attachment: cj

main channel source.

 New WCF channel using Qpid cpp client libraries
 ---

 Key: QPID-2065
 URL: https://issues.apache.org/jira/browse/QPID-2065
 Project: Qpid
  Issue Type: New Feature
Affects Versions: 0.6
 Environment: Microsoft Windows
Reporter: Cliff Jansen
 Attachments: cj


 Client software is provided that leverages the existing Qpid C++ libraries to 
 offer a rich programming environment and runtime support for .NET application 
 developers on the Windows platform.
 The initial focus is on an AMQP Windows Communication Foundation (WCF) 
 channel with transaction support and full programmatic access to AMQP message 
 properties. 
 Follow on work will include broker management capabilities.
 This first patch provides a basic WCF implementation that supports both 
 WCF-to-WCF and WCF-to-non-WCF applications.
 Functional tests and sample programs are further provided in related patches.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Created: (QPID-2067) NUnit-based functional tests, programming samples and tools for the WCF over C++ client library component.

2009-08-21 Thread Devang Gandhi (JIRA)
NUnit-based functional tests, programming samples and tools for the WCF over 
C++ client library component. 
---

 Key: QPID-2067
 URL: https://issues.apache.org/jira/browse/QPID-2067
 Project: Qpid
  Issue Type: New Feature
Affects Versions: 0.6
 Environment: Microsoft Windows
Reporter: Devang Gandhi


NUnit-based functional tests, programming samples and tools for the WCF over 
C++ client library component. This is continuation of qpid-2065.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (QPID-2067) NUnit-based functional tests, programming samples and tools for the WCF over C++ client library component.

2009-08-21 Thread Devang Gandhi (JIRA)

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

Devang Gandhi updated QPID-2067:


Attachment: dg.zip

This is a continuation of qpid-2065

 NUnit-based functional tests, programming samples and tools for the WCF over 
 C++ client library component. 
 ---

 Key: QPID-2067
 URL: https://issues.apache.org/jira/browse/QPID-2067
 Project: Qpid
  Issue Type: New Feature
Affects Versions: 0.6
 Environment: Microsoft Windows
Reporter: Devang Gandhi
 Attachments: dg.zip


 NUnit-based functional tests, programming samples and tools for the WCF over 
 C++ client library component. This is continuation of qpid-2065.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Commented: (QPID-2065) New WCF channel using Qpid cpp client libraries

2009-08-21 Thread Cliff Jansen (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12746388#action_12746388
 ] 

Cliff Jansen commented on QPID-2065:


Please see QPID-2066 and QPID-2067 for related software submissions from 
additional contributors.

 New WCF channel using Qpid cpp client libraries
 ---

 Key: QPID-2065
 URL: https://issues.apache.org/jira/browse/QPID-2065
 Project: Qpid
  Issue Type: New Feature
Affects Versions: 0.6
 Environment: Microsoft Windows
Reporter: Cliff Jansen
 Attachments: cj.zip


 Client software is provided that leverages the existing Qpid C++ libraries to 
 offer a rich programming environment and runtime support for .NET application 
 developers on the Windows platform.
 The initial focus is on an AMQP Windows Communication Foundation (WCF) 
 channel with transaction support and full programmatic access to AMQP message 
 properties. 
 Follow on work will include broker management capabilities.
 This first patch provides a basic WCF implementation that supports both 
 WCF-to-WCF and WCF-to-non-WCF applications.
 Functional tests and sample programs are further provided in related patches.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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