|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mq.server.JMSServerInterceptorSupport
org.jboss.mq.security.ServerSecurityInterceptor
ServerSecurityInvoker.java
| Field Summary |
| Fields inherited from class org.jboss.mq.server.JMSServerInterceptorSupport |
log, nextInterceptor |
| Constructor Summary | |
ServerSecurityInterceptor(SecurityManager manager)
|
|
| Method Summary | |
void |
addMessage(ConnectionToken dc,
SpyMessage message)
Add the message to the destination. |
void |
addTemporaryDestination(ConnectionToken dc,
javax.jms.Destination destination)
Remember the temporary destinations for a connection |
String |
authenticate(String name,
String password)
Check user for autentication. |
boolean |
authorizeCreate(ConnectionToken dc,
String destination)
|
boolean |
authorizeRead(ConnectionToken dc,
String destination)
|
boolean |
authorizeWrite(ConnectionToken dc,
String destination)
|
SpyMessage[] |
browse(ConnectionToken dc,
javax.jms.Destination dest,
String selector)
#Description of the Method |
void |
connectionClosing(ConnectionToken dc)
Close connection. |
void |
deleteTemporaryDestination(ConnectionToken dc,
SpyDestination destination)
#Description of the Method |
void |
destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
#Description of the Method |
javax.jms.TemporaryQueue |
getTemporaryQueue(ConnectionToken dc)
Gets the TemporaryQueue attribute of the ServerIL object |
javax.jms.TemporaryTopic |
getTemporaryTopic(ConnectionToken dc)
Gets the TemporaryTopic attribute of the ServerIL object |
SpyMessage |
receive(ConnectionToken dc,
int subscriberId,
long wait)
#Description of the Method |
void |
removeTemporaryDestination(ConnectionToken dc,
SpyDestination destination)
Remove a temporary destination |
void |
removeTemporaryDestinations(ConnectionToken dc)
Remove all temporary destination for a connection |
void |
subscribe(ConnectionToken dc,
Subscription sub)
|
void |
transact(ConnectionToken dc,
TransactionRequest t)
#Description of the Method |
| Methods inherited from class org.jboss.mq.server.JMSServerInterceptorSupport |
acknowledge, checkID, checkUser, createQueue, createTopic, getDurableTopic, getID, getNext, getSubscription, getThreadGroup, ping, setEnabled, setNext, unsubscribe |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServerSecurityInterceptor(SecurityManager manager)
| Method Detail |
public String authenticate(String name, String password) throws javax.jms.JMSException
JMSServerInterceptorSupport
authenticate in interface JMSServerInterceptorauthenticate in class JMSServerInterceptorSupportname - Description of Parameterpassword - Description of Parameter
javax.jms.JMSException - if user was not allowed to loginpublic void connectionClosing(ConnectionToken dc) throws javax.jms.JMSException
connectionClosing in interface JMSServerInterceptorconnectionClosing in class JMSServerInterceptorSupportdc - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic SpyMessage[] browse(ConnectionToken dc, javax.jms.Destination dest, String selector) throws javax.jms.JMSException
JMSServerInterceptorSupport
browse in interface JMSServerInterceptorbrowse in class JMSServerInterceptorSupportdc - Description of Parameterdest - Description of Parameterselector - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic SpyMessage receive(ConnectionToken dc, int subscriberId, long wait) throws javax.jms.JMSException
JMSServerInterceptorSupport
receive in interface JMSServerInterceptorreceive in class JMSServerInterceptorSupportdc - Description of ParametersubscriberId - Description of Parameterwait - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void subscribe(ConnectionToken dc, Subscription sub) throws javax.jms.JMSException
subscribe in interface JMSServerInterceptorsubscribe in class JMSServerInterceptorSupportdc - org.jboss.mq.ConnectionTokensub - org.jboss.mq.Subscription
javax.jms.JMSException - The exception description.public void addMessage(ConnectionToken dc, SpyMessage message) throws javax.jms.JMSException
JMSServerInterceptorSupport
addMessage in interface JMSServerInterceptoraddMessage in class JMSServerInterceptorSupportdc - The feature to be added to the Message attributemessage - The feature to be added to the Message attribute
javax.jms.JMSException - Description of Exceptionpublic void transact(ConnectionToken dc, TransactionRequest t) throws javax.jms.JMSException
JMSServerInterceptorSupport
transact in interface JMSServerInterceptortransact in class JMSServerInterceptorSupportdc - Description of Parametert - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void destroySubscription(ConnectionToken dc, DurableSubscriptionID id) throws javax.jms.JMSException
JMSServerInterceptorSupport
destroySubscription in interface JMSServerInterceptordestroySubscription in class JMSServerInterceptorSupportid - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws javax.jms.JMSException
JMSServerInterceptorSupport
getTemporaryTopic in interface JMSServerInterceptorgetTemporaryTopic in class JMSServerInterceptorSupportdc - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws javax.jms.JMSException
JMSServerInterceptorSupport
getTemporaryQueue in interface JMSServerInterceptorgetTemporaryQueue in class JMSServerInterceptorSupportdc - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void deleteTemporaryDestination(ConnectionToken dc, SpyDestination destination) throws javax.jms.JMSException
JMSServerInterceptorSupport
deleteTemporaryDestination in interface JMSServerInterceptordeleteTemporaryDestination in class JMSServerInterceptorSupportdc - Description of Parameterdestination - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic boolean authorizeRead(ConnectionToken dc, String destination) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic boolean authorizeWrite(ConnectionToken dc, String destination) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic boolean authorizeCreate(ConnectionToken dc, String destination) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void addTemporaryDestination(ConnectionToken dc, javax.jms.Destination destination)
public void removeTemporaryDestination(ConnectionToken dc, SpyDestination destination)
public void removeTemporaryDestinations(ConnectionToken dc)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||