|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 JMSServerInterceptor
authenticate
in class JMSServerInterceptorSupport
name
- 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 JMSServerInterceptor
connectionClosing
in class JMSServerInterceptorSupport
dc
- 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 JMSServerInterceptor
browse
in class JMSServerInterceptorSupport
dc
- 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 JMSServerInterceptor
receive
in class JMSServerInterceptorSupport
dc
- 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 JMSServerInterceptor
subscribe
in class JMSServerInterceptorSupport
dc
- 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 JMSServerInterceptor
addMessage
in class JMSServerInterceptorSupport
dc
- 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 JMSServerInterceptor
transact
in class JMSServerInterceptorSupport
dc
- 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 JMSServerInterceptor
destroySubscription
in class JMSServerInterceptorSupport
id
- Description of Parameter
javax.jms.JMSException
- Description of Exceptionpublic javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws javax.jms.JMSException
JMSServerInterceptorSupport
getTemporaryTopic
in interface JMSServerInterceptor
getTemporaryTopic
in class JMSServerInterceptorSupport
dc
- Description of Parameter
javax.jms.JMSException
- Description of Exceptionpublic javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws javax.jms.JMSException
JMSServerInterceptorSupport
getTemporaryQueue
in interface JMSServerInterceptor
getTemporaryQueue
in class JMSServerInterceptorSupport
dc
- Description of Parameter
javax.jms.JMSException
- Description of Exceptionpublic void deleteTemporaryDestination(ConnectionToken dc, SpyDestination destination) throws javax.jms.JMSException
JMSServerInterceptorSupport
deleteTemporaryDestination
in interface JMSServerInterceptor
deleteTemporaryDestination
in class JMSServerInterceptorSupport
dc
- Description of Parameterdestination
- Description of Parameter
javax.jms.JMSException
- Description of Exceptionpublic boolean authorizeRead(ConnectionToken dc, String destination) throws javax.jms.JMSException
javax.jms.JMSException
public boolean authorizeWrite(ConnectionToken dc, String destination) throws javax.jms.JMSException
javax.jms.JMSException
public boolean authorizeCreate(ConnectionToken dc, String destination) throws javax.jms.JMSException
javax.jms.JMSException
public 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 |