On 03/01/2010 09:10 AM, Joan Bellver Faus wrote:
Quoting Carl Trieloff <cctriel...@redhat.com>:
On 03/01/2010 07:19 AM, Joan Bellver Faus wrote:
Quoting Carl Trieloff <cctriel...@redhat.com>:
yes, place the new file and then there is a QMF method that can be
called to relaod
the ACL. If the new ACL file has errors, the old files runs will
stay in place.
Hi,
I tried to use the library org.apache.qpid.console to access the
class session and be able to use the acl package but appears only
the package broker, therefore i can only make use of the functions
for the broker, but not for the acl, you give me a more definite
idea of how to use methods for the acl from a java client?
thank you,
Can you make sure it does what you are looking for from qpid-tool first.
I do not understand that you mean with this, there is any example or
test for that i can guide? thanks.
if it does I will point you to how to
run qpid-tool under the python commands in 0.5
at the prompt type help.
schema
schema acl
list acl
call {id} reloadACLFile
---------------------------------
<class name="Acl">
<property name="brokerRef" type="objId"
references="org.apache.qpid.broker:Broker" access="RO" index="y"
parentRef="y"/>
<property name="policyFile" type="sstr" access="RO" desc="Name
of the policy file"/>
<property name="enforcingAcl" type="bool" access="RO"
desc="Currently Enforcing ACL"/>
<property name="transferAcl" type="bool" access="RO" desc="Any
transfer ACL rules in force"/>
<property name="lastAclLoad" type="absTime" access="RO"
desc="Timestamp of last successful load of ACL"/>
<statistic name="aclDenyCount" type="count64" unit="request"
desc="Number of ACL requests denied"/>
<method name="reloadACLFile" desc="Reload the ACL file"/>
</class>
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org