org.mule.processor
Class SecurityFilterMessageProcessor

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

public class SecurityFilterMessageProcessor
extends AbstractInterceptingMessageProcessor
implements EndpointAware

Filters the flow using the EndpointSecurityFilter configured on the endpoint. 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.AbstractInterceptingMessageProcessor
logger, muleContext, next, notificationHandler
 
Constructor Summary
SecurityFilterMessageProcessor()
          Deprecated. Use SecurityFilterMessageProcessor(EndpointSecurityFilter filter) instead
SecurityFilterMessageProcessor(EndpointSecurityFilter filter)
           
 
Method Summary
 EndpointSecurityFilter getFilter()
           
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 void setEndpoint(ImmutableEndpoint ep)
           
 void setFilter(EndpointSecurityFilter filter)
           
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
fireNotification, getMuleContext, processNext, setListener, setMuleContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityFilterMessageProcessor

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

For IoC only


SecurityFilterMessageProcessor

public SecurityFilterMessageProcessor(EndpointSecurityFilter filter)
Method Detail

getFilter

public EndpointSecurityFilter 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(EndpointSecurityFilter filter)

setEndpoint

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


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