|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.broker.BrokerFilter
org.apache.activemq.broker.UserIDBroker
public class UserIDBroker
This broker filter will append the producer's user ID into the JMSXUserID header to allow folks to know reliably who the user was who produced a message. Note that you cannot trust the client, especially if working over the internet as they can spoof headers to be anything they like.
| Field Summary |
|---|
| Fields inherited from class org.apache.activemq.broker.BrokerFilter |
|---|
next |
| Constructor Summary | |
|---|---|
UserIDBroker(Broker next)
|
|
| Method Summary | |
|---|---|
boolean |
isUseAuthenticatePrincipal()
|
void |
send(ProducerBrokerExchange producerExchange,
Message messageSend)
Send a message to the broker to using the specified destination. |
void |
setUseAuthenticatePrincipal(boolean useAuthenticatePrincipal)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserIDBroker(Broker next)
| Method Detail |
|---|
public void send(ProducerBrokerExchange producerExchange,
Message messageSend)
throws java.lang.Exception
Region
send in interface Regionsend in class BrokerFilterproducerExchange - the environment the operation is being executed under.
java.lang.Exception - TODOpublic boolean isUseAuthenticatePrincipal()
public void setUseAuthenticatePrincipal(boolean useAuthenticatePrincipal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||