org.mule.security.oauth.processor
Class AbstractAuthorizeMessageProcessor
java.lang.Object
org.mule.devkit.processor.ExpressionEvaluatorSupport
org.mule.devkit.processor.DevkitBasedMessageProcessor
org.mule.security.oauth.processor.AbstractAuthorizeMessageProcessor
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, Disposable, Initialisable, Startable, Stoppable, InterceptingMessageProcessor, MessageProcessor, MessageSource
- Direct Known Subclasses:
- BaseOAuth1AuthorizeMessageProcessor, BaseOAuth2AuthorizeMessageProcessor
public abstract class AbstractAuthorizeMessageProcessor
- extends DevkitBasedMessageProcessor
- implements FlowConstructAware, MuleContextAware, Initialisable, Startable, Stoppable, InterceptingMessageProcessor
Methods inherited from class org.mule.devkit.processor.DevkitBasedMessageProcessor |
dispose, doProcess, findOrCreate, getAccessTokenId, getFlowConstruct, getMuleContext, initialise, overwritePayload, process, setAccessTokenId, setFlowConstruct, setModuleObject, setMuleContext |
Methods inherited from class org.mule.devkit.processor.ExpressionEvaluatorSupport |
computeClassHierarchy, evaluate, evaluateAndTransform, evaluateAndTransform, getAccessTokenId, isAssignableFrom, isList, isListClass, isMap, isMapClass, transform, transform, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAuthorizeMessageProcessor
public AbstractAuthorizeMessageProcessor()
getAuthCodeRegex
protected abstract String getAuthCodeRegex()
start
public void start()
throws MuleException
- Specified by:
start
in interface Startable
- Overrides:
start
in class DevkitBasedMessageProcessor
- Throws:
MuleException
startCallback
protected void startCallback(HttpCallbackAdapter adapter,
FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor)
throws MuleException
- Throws:
MuleException
notifyAuthorizeStart
protected void notifyAuthorizeStart(MuleEvent event)
stop
public final void stop()
throws MuleException
- Specified by:
stop
in interface Stoppable
- Overrides:
stop
in class DevkitBasedMessageProcessor
- Throws:
MuleException
toString
protected String toString(MuleEvent event,
Object value)
setListener
public void setListener(MessageProcessor value)
- Sets listener
- Specified by:
setListener
in interface MessageSource
- Parameters:
value
- Value to set
setAuthorizationUrl
public void setAuthorizationUrl(String value)
- Sets authorizationUrl
- Parameters:
value
- Value to set
getAuthorizationUrl
public String getAuthorizationUrl()
- Retrieves authorizationUrl
setAccessTokenUrl
public void setAccessTokenUrl(String value)
- Sets accessTokenUrl
- Parameters:
value
- Value to set
getAccessTokenUrl
public String getAccessTokenUrl()
- Retrieves accessTokenUrl
setState
public void setState(String value)
- Sets state
- Parameters:
value
- Value to set
getOauthCallback
public HttpCallback getOauthCallback()
setOauthCallback
public void setOauthCallback(HttpCallback oauthCallback)
getListener
public MessageProcessor getListener()
getState
public String getState()
setCallbackFactory
public void setCallbackFactory(HttpCallbackFactory callbackFactory)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.