public class SecurityFilterMessageProcessor extends AbstractInterceptingMessageProcessor implements EndpointAware, Initialisable, NonBlockingSupported
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.logger, muleContext, next, notificationHandlerPHASE_NAMEPROPERTY_NAME| Constructor and Description |
|---|
SecurityFilterMessageProcessor()
Deprecated.
Use SecurityFilterMessageProcessor(SecurityFilter filter) instead
|
SecurityFilterMessageProcessor(SecurityFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
SecurityFilter |
getFilter() |
void |
initialise()
Method used to perform any initialisation work.
|
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor.
|
void |
setEndpoint(ImmutableEndpoint ep) |
void |
setFilter(SecurityFilter filter) |
addMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerpublic SecurityFilterMessageProcessor()
public SecurityFilterMessageProcessor(SecurityFilter filter)
public void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered frompublic SecurityFilter getFilter()
public MuleEvent process(MuleEvent event) throws MuleException
MessageProcessorprocess in interface MessageProcessorevent - MuleEvent to be processedMuleExceptionpublic void setFilter(SecurityFilter filter)
public void setEndpoint(ImmutableEndpoint ep)
setEndpoint in interface EndpointAwareCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.