org.mule.processor
Class SecurityFilterMessageProcessor
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.processor.SecurityFilterMessageProcessor
- All Implemented Interfaces:
- 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SecurityFilterMessageProcessor
public SecurityFilterMessageProcessor()
- Deprecated. Use SecurityFilterMessageProcessor(EndpointSecurityFilter filter) instead
- For IoC only
SecurityFilterMessageProcessor
public SecurityFilterMessageProcessor(EndpointSecurityFilter filter)
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.