public class CommunoteJaasAuthenticationBroker
extends org.apache.activemq.broker.BrokerFilter
| Constructor and Description |
|---|
CommunoteJaasAuthenticationBroker(MQSettingsDAO settingsDao,
ActiveMQEmbeddedConfiguration embeddedConfiguration,
org.apache.activemq.broker.Broker next,
String jaasConfiguration,
String jaasSslConfiguration)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.ConnectionInfo info)
Overridden to allow for authentication using different Jaas configurations depending on if
the connection is SSL or not.
|
void |
removeConnection(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.ConnectionInfo info,
Throwable error) |
void |
send(org.apache.activemq.broker.ProducerBrokerExchange producerExchange,
org.apache.activemq.command.Message messageSend) |
acknowledge, addBroker, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, removeBroker, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, start, stoppublic CommunoteJaasAuthenticationBroker(MQSettingsDAO settingsDao, ActiveMQEmbeddedConfiguration embeddedConfiguration, org.apache.activemq.broker.Broker next, String jaasConfiguration, String jaasSslConfiguration)
settingsDao - the settings daoembeddedConfiguration - the embedded configurationnext - The Broker that does the actual work for this Filter.jaasConfiguration - The JAAS domain configuration name for non-SSL connections (refer to JAAS
documentation).jaasSslConfiguration - The JAAS domain configuration name for SSL connections (refer to JAAS
documentation).public void addConnection(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.ConnectionInfo info)
throws Exception
addConnection in interface org.apache.activemq.broker.BrokeraddConnection in class org.apache.activemq.broker.BrokerFiltercontext - The context for the incoming Connection.info - The ConnectionInfo Command representing the incoming connection.Exception - in case of an errorpublic void removeConnection(org.apache.activemq.broker.ConnectionContext context,
org.apache.activemq.command.ConnectionInfo info,
Throwable error)
throws Exception
removeConnection in interface org.apache.activemq.broker.BrokerremoveConnection in class org.apache.activemq.broker.BrokerFilterExceptionpublic void send(org.apache.activemq.broker.ProducerBrokerExchange producerExchange,
org.apache.activemq.command.Message messageSend)
throws Exception
send in interface org.apache.activemq.broker.region.Regionsend in class org.apache.activemq.broker.BrokerFilterExceptionCopyright © 2019 Communote team. All rights reserved.