org.mule.processor
Class SecurityFilterMessageProcessor

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

public class SecurityFilterMessageProcessor
extends AbstractInterceptingMessageProcessor

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, next
 
Constructor Summary
SecurityFilterMessageProcessor()
           
SecurityFilterMessageProcessor(EndpointSecurityFilter filter)
           
 
Method Summary
 EndpointSecurityFilter getFilter()
           
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 void setFilter(EndpointSecurityFilter filter)
           
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
processNext, setListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityFilterMessageProcessor

public SecurityFilterMessageProcessor()

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.

Parameters:
event - MuleEvent to be processed
Returns:
optional response MuleEvent
Throws:
MuleException

setFilter

public void setFilter(EndpointSecurityFilter filter)


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