Package org.apache.activemq.security
Class AuthorizationDestinationInterceptor
- java.lang.Object
-
- org.apache.activemq.security.AuthorizationDestinationInterceptor
-
- All Implemented Interfaces:
DestinationInterceptor
public class AuthorizationDestinationInterceptor extends Object implements DestinationInterceptor
Adds AuthorizationDestinationFilter on intercept()
-
-
Constructor Summary
Constructors Constructor Description AuthorizationDestinationInterceptor(AuthorizationBroker broker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(Broker broker, ConnectionContext context, ActiveMQDestination destination)
Destination
intercept(Destination destination)
void
remove(Destination destination)
-
-
-
Constructor Detail
-
AuthorizationDestinationInterceptor
public AuthorizationDestinationInterceptor(AuthorizationBroker broker)
-
-
Method Detail
-
intercept
public Destination intercept(Destination destination)
- Specified by:
intercept
in interfaceDestinationInterceptor
-
remove
public void remove(Destination destination)
- Specified by:
remove
in interfaceDestinationInterceptor
-
create
public void create(Broker broker, ConnectionContext context, ActiveMQDestination destination) throws Exception
- Specified by:
create
in interfaceDestinationInterceptor
- Throws:
Exception
-
-