|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A pluggable strategy to authenticate new connections and authorize the connection and producer and consumer on destinations
Method Summary | |
void |
authorizeConnection(BrokerClient client,
ConnectionInfo info)
Authenticates the connection and authorizes it for use with this Message Broker |
void |
authorizeConsumer(BrokerClient client,
ConsumerInfo info)
Authorizes that the consumer can start with the given consumer information |
void |
authorizeProducer(BrokerClient client,
ProducerInfo info)
Authorizes that the prodcuer can start with the given producer information. |
boolean |
authorizeReceive(BrokerClient client,
ActiveMQMessage message)
Returns true if the given client is authorized to receive the given message. |
void |
authorizeSendMessage(BrokerClient client,
ActiveMQMessage message)
Authorizes on a per message basis whether or not the client is allowed to send the given message. |
Method Detail |
public void authorizeConnection(BrokerClient client, ConnectionInfo info) throws JMSException
JMSException
- if the connection is not allowed for any reasonpublic void authorizeConsumer(BrokerClient client, ConsumerInfo info) throws JMSException
JMSException
- if the connection is not allowed for any reasonpublic void authorizeProducer(BrokerClient client, ProducerInfo info) throws JMSException
JMSException
- if the connection is not allowed for any reasonpublic void authorizeSendMessage(BrokerClient client, ActiveMQMessage message) throws JMSException
authorizeProducer(org.activemq.broker.BrokerClient, org.activemq.message.ProducerInfo)
JMSException
public boolean authorizeReceive(BrokerClient client, ActiveMQMessage message)
client
- the clientmessage
- the message to be delivered
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |