org.jboss.jms.server.container
Class SecurityAspect
java.lang.Object
org.jboss.jms.server.container.SecurityAspect
public class SecurityAspect
- extends java.lang.Object
This aspect enforces the JBossMessaging JMS security policy.
This aspect is PER_INSTANCE
For performance reasons we cache access rights in the interceptor for a maximum of
INVALIDATION_INTERVAL milliseconds.
This is because we don't want to do a full authentication and authorization on every send,
for example, since this will drastically reduce performance.
This means any changes to security data won't be reflected until INVALIDATION_INTERVAL
milliseconds later.
- Version:
- $Revision 1.1 $
$Id: SecurityAspect.java 3147 2007-09-27 19:12:12Z anil.saldhana@jboss.com $
- Author:
- Tim Fox, Ovidiu Feodorov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityAspect
public SecurityAspect()
handleCreateConsumerDelegate
public java.lang.Object handleCreateConsumerDelegate(Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
handleCreateBrowserDelegate
public java.lang.Object handleCreateBrowserDelegate(Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
handleSend
public java.lang.Object handleSend(Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
handleSendTransaction
public java.lang.Object handleSendTransaction(Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
checkConsumerAccess
protected void checkConsumerAccess(Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright © 2006 JBoss Inc. All Rights Reserved.