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, 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.
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-2012 MuleSoft, Inc.. All Rights Reserved.