Class OAuthMediator
- java.lang.Object
-
- org.apache.synapse.mediators.AbstractMediator
-
- org.wso2.carbon.identity.oauth.mediator.OAuthMediator
-
- All Implemented Interfaces:
org.apache.synapse.aspects.AspectConfigurable
,org.apache.synapse.Mediator
,org.apache.synapse.SynapseArtifact
public class OAuthMediator extends org.apache.synapse.mediators.AbstractMediator
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_AXIS2_XML
static String
DEFAULT_CLIENT_REPO
-
Constructor Summary
Constructors Constructor Description OAuthMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPassword()
String
getRemoteServiceUrl()
String
getUsername()
void
init(org.apache.synapse.core.SynapseEnvironment synEnv)
boolean
isContentAware()
boolean
mediate(org.apache.synapse.MessageContext synCtx)
void
setPassword(String password)
void
setRemoteServiceUrl(String remoteServiceUrl)
void
setUsername(String username)
-
Methods inherited from class org.apache.synapse.mediators.AbstractMediator
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
-
-
-
-
Field Detail
-
DEFAULT_CLIENT_REPO
public static final String DEFAULT_CLIENT_REPO
- See Also:
- Constant Field Values
-
DEFAULT_AXIS2_XML
public static final String DEFAULT_AXIS2_XML
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(org.apache.synapse.core.SynapseEnvironment synEnv)
-
mediate
public boolean mediate(org.apache.synapse.MessageContext synCtx)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getRemoteServiceUrl
public String getRemoteServiceUrl()
-
setRemoteServiceUrl
public void setRemoteServiceUrl(String remoteServiceUrl)
-
isContentAware
public boolean isContentAware()
- Specified by:
isContentAware
in interfaceorg.apache.synapse.Mediator
- Overrides:
isContentAware
in classorg.apache.synapse.mediators.AbstractMediator
-
-