public class SimpleAuthenticationBroker extends AbstractAuthenticationBroker
securityContexts
next
Constructor and Description |
---|
SimpleAuthenticationBroker(Broker next,
java.util.Map<java.lang.String,java.lang.String> userPasswords,
java.util.Map<java.lang.String,java.util.Set<java.security.Principal>> userGroups) |
Modifier and Type | Method and Description |
---|---|
void |
addConnection(ConnectionContext context,
ConnectionInfo info)
A client is establishing a connection with the broker.
|
void |
setAnonymousAccessAllowed(boolean anonymousAccessAllowed) |
void |
setAnonymousGroup(java.lang.String anonymousGroup) |
void |
setAnonymousUser(java.lang.String anonymousUser) |
refresh, removeConnection, removeDestination
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, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, start, stop
public SimpleAuthenticationBroker(Broker next, java.util.Map<java.lang.String,java.lang.String> userPasswords, java.util.Map<java.lang.String,java.util.Set<java.security.Principal>> userGroups)
public void setAnonymousAccessAllowed(boolean anonymousAccessAllowed)
public void setAnonymousUser(java.lang.String anonymousUser)
public void setAnonymousGroup(java.lang.String anonymousGroup)
public void addConnection(ConnectionContext context, ConnectionInfo info) throws java.lang.Exception
Broker
addConnection
in interface Broker
addConnection
in class BrokerFilter
java.lang.Exception
- TODOCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.