java.lang.Object
org.activemq.config.SecurityAdapterStub
- All Implemented Interfaces:
- org.activemq.security.SecurityAdapter
- public class SecurityAdapterStub
- extends java.lang.Object
- implements org.activemq.security.SecurityAdapter
- Version:
- $Revision: 1.1.1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityAdapterStub
public SecurityAdapterStub()
authorizeConnection
public void authorizeConnection(org.activemq.broker.BrokerClient client,
org.activemq.message.ConnectionInfo info)
throws javax.jms.JMSException
- Description copied from interface:
org.activemq.security.SecurityAdapter
- Authenticates the connection and authorizes it for use with this
Message Broker
- Specified by:
authorizeConnection in interface org.activemq.security.SecurityAdapter
authorizeConsumer
public void authorizeConsumer(org.activemq.broker.BrokerClient client,
org.activemq.message.ConsumerInfo info)
throws javax.jms.JMSException
- Description copied from interface:
org.activemq.security.SecurityAdapter
- Authorizes that the consumer can start with the given consumer information
- Specified by:
authorizeConsumer in interface org.activemq.security.SecurityAdapter
authorizeProducer
public void authorizeProducer(org.activemq.broker.BrokerClient client,
org.activemq.message.ProducerInfo info)
throws javax.jms.JMSException
- Description copied from interface:
org.activemq.security.SecurityAdapter
- Authorizes that the prodcuer can start with the given producer information.
Note that the destination information may not be present at the start of the producer.
- Specified by:
authorizeProducer in interface org.activemq.security.SecurityAdapter
authorizeSendMessage
public void authorizeSendMessage(org.activemq.broker.BrokerClient client,
org.activemq.message.ActiveMQMessage message)
throws javax.jms.JMSException
- Description copied from interface:
org.activemq.security.SecurityAdapter
- Authorizes on a per message basis whether or not the client is allowed to send the given
message. The client may not have been authorized yet for this destination as a destination
may not have been specified on the previous call to
SecurityAdapter.authorizeProducer(org.activemq.broker.BrokerClient, org.activemq.message.ProducerInfo)>
SecurityAdapter.authorizeProducer(org.activemq.broker.BrokerClient, org.activemq.message.ProducerInfo) 55
- Specified by:
authorizeSendMessage in interface org.activemq.security.SecurityAdapter
authorizeReceive
public boolean authorizeReceive(org.activemq.broker.BrokerClient client,
org.activemq.message.ActiveMQMessage message)
- Description copied from interface:
org.activemq.security.SecurityAdapter
- Returns true if the given client is authorized to receive the given message.
- Specified by:
authorizeReceive in interface org.activemq.security.SecurityAdapter