org.mule.security.oauth.processor
Class BaseOAuth2AuthorizeMessageProcessor<T extends OAuth2Manager<OAuth2Adapter>>
java.lang.Object
org.mule.devkit.processor.ExpressionEvaluatorSupport
org.mule.devkit.processor.DevkitBasedMessageProcessor
org.mule.security.oauth.processor.AbstractAuthorizeMessageProcessor
org.mule.security.oauth.processor.BaseOAuth2AuthorizeMessageProcessor<T>
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, Disposable, Initialisable, Startable, Stoppable, InterceptingMessageProcessor, MessageProcessor, MessageSource
public abstract class BaseOAuth2AuthorizeMessageProcessor<T extends OAuth2Manager<OAuth2Adapter>>
- extends AbstractAuthorizeMessageProcessor
Methods inherited from class org.mule.security.oauth.processor.AbstractAuthorizeMessageProcessor |
getAccessTokenUrl, getAuthCodeRegex, getAuthorizationUrl, getListener, getOauthCallback, getState, notifyAuthorizeStart, setAccessTokenUrl, setAuthorizationUrl, setCallbackFactory, setListener, setOauthCallback, setState, startCallback, stop, toString |
Methods inherited from class org.mule.devkit.processor.DevkitBasedMessageProcessor |
dispose, 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 |
BaseOAuth2AuthorizeMessageProcessor
public BaseOAuth2AuthorizeMessageProcessor()
getOAuthManagerClass
protected abstract Class<T> getOAuthManagerClass()
start
public final void start()
throws MuleException
- Specified by:
start
in interface Startable
- Overrides:
start
in class AbstractAuthorizeMessageProcessor
- Throws:
MuleException
doProcess
protected final MuleEvent doProcess(MuleEvent event)
throws Exception
- Starts the OAuth authorization process
- Specified by:
doProcess
in class DevkitBasedMessageProcessor
- Parameters:
event
- MuleEvent to be processed
- Returns:
- a mule event
- Throws:
Exception
getOAuthManager
protected OAuth2Manager<OAuth2Adapter> getOAuthManager()
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.