org.springframework.flex.messaging.security
Class MessageBrokerSecurityConfigProcessor
java.lang.Object
org.springframework.flex.messaging.security.MessageBrokerSecurityConfigProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanClassLoaderAware, MessageBrokerConfigProcessor
public class MessageBrokerSecurityConfigProcessor
- extends java.lang.Object
- implements MessageBrokerConfigProcessor, org.springframework.beans.factory.BeanClassLoaderAware
Processor that applies security advice to configured BlazeDS endpoints by wrapping them in Spring AOP proxies.
This processor will be automatically configured through the secured xml configuration namespace tag.
- Author:
- Jeremy Grelle
|
Method Summary |
flex.messaging.MessageBroker |
processAfterStartup(flex.messaging.MessageBroker broker)
Apply this config processor to the newly created MessageBroker after it and all of its services
have been started but before it is available for use. |
flex.messaging.MessageBroker |
processBeforeStartup(flex.messaging.MessageBroker broker)
Apply this config processor to the newly created MessageBroker after its intial configuration
settings have been parsed from the BlazeDS XML configuration, but before it has actually been
started. |
void |
setBeanClassLoader(java.lang.ClassLoader classLoader)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageBrokerSecurityConfigProcessor
public MessageBrokerSecurityConfigProcessor(java.util.List<EndpointSecurityAdvisor> advisors)
processAfterStartup
public flex.messaging.MessageBroker processAfterStartup(flex.messaging.MessageBroker broker)
- Description copied from interface:
MessageBrokerConfigProcessor
- Apply this config processor to the newly created MessageBroker after it and all of its services
have been started but before it is available for use.
- Specified by:
processAfterStartup in interface MessageBrokerConfigProcessor
- Parameters:
broker - the started MessageBroker instance
- Returns:
- the modified MessageBroker
processBeforeStartup
public flex.messaging.MessageBroker processBeforeStartup(flex.messaging.MessageBroker broker)
- Description copied from interface:
MessageBrokerConfigProcessor
- Apply this config processor to the newly created MessageBroker after its intial configuration
settings have been parsed from the BlazeDS XML configuration, but before it has actually been
started.
- Specified by:
processBeforeStartup in interface MessageBrokerConfigProcessor
- Parameters:
broker - the new MessageBroker instance
- Returns:
- the modified MessageBroker
setBeanClassLoader
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
- Specified by:
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware