org.mule.processor
Class SecurityFilterMessageProcessor
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.processor.SecurityFilterMessageProcessor
- All Implemented Interfaces:
- AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageProcessorContainer, 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.
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase |
addMessageProcessorPathElements, getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, setMuleContext, toString |
SecurityFilterMessageProcessor
public SecurityFilterMessageProcessor()
- Deprecated. Use SecurityFilterMessageProcessor(SecurityFilter filter) instead
- For IoC only
SecurityFilterMessageProcessor
public SecurityFilterMessageProcessor(SecurityFilter filter)
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-2013 MuleSoft, Inc.. All Rights Reserved.