org.mule.processor
Class SecurityFilterMessageProcessor

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessorBase
      extended by org.mule.processor.AbstractInterceptingMessageProcessor
          extended by org.mule.processor.SecurityFilterMessageProcessor
All Implemented Interfaces:
AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource, EndpointAware

public class SecurityFilterMessageProcessor
extends AbstractInterceptingMessageProcessor
implements EndpointAware

Filters the flow using the specified SecurityFilter. If unauthorised the flow is stopped and therefore the message is not send or dispatched by the transport. When unauthorised the request message is returned as the response.


Field Summary
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
logger, muleContext, next, notificationHandler
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
SecurityFilterMessageProcessor()
          Deprecated. Use SecurityFilterMessageProcessor(SecurityFilter filter) instead
SecurityFilterMessageProcessor(SecurityFilter filter)
           
 
Method Summary
 SecurityFilter getFilter()
           
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 void setEndpoint(ImmutableEndpoint ep)
           
 void setFilter(SecurityFilter filter)
           
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, setMuleContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.source.MessageSource
setListener
 

Constructor Detail

SecurityFilterMessageProcessor

public SecurityFilterMessageProcessor()
Deprecated. Use SecurityFilterMessageProcessor(SecurityFilter filter) instead

For IoC only


SecurityFilterMessageProcessor

public SecurityFilterMessageProcessor(SecurityFilter filter)
Method Detail

getFilter

public SecurityFilter getFilter()

process

public MuleEvent process(MuleEvent event)
                  throws MuleException
Description copied from interface: MessageProcessor
Invokes the MessageProcessor.

Specified by:
process in interface MessageProcessor
Parameters:
event - MuleEvent to be processed
Returns:
optional response MuleEvent
Throws:
MuleException

setFilter

public void setFilter(SecurityFilter filter)

setEndpoint

public void setEndpoint(ImmutableEndpoint ep)
Specified by:
setEndpoint in interface EndpointAware


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.