Class EntitlementMediator
- java.lang.Object
-
- org.apache.synapse.mediators.AbstractMediator
-
- org.wso2.carbon.identity.entitlement.mediator.EntitlementMediator
-
- All Implemented Interfaces:
org.apache.synapse.aspects.AspectConfigurable
,org.apache.synapse.debug.constructs.EnclosedInlinedSequence
,org.apache.synapse.ManagedLifecycle
,org.apache.synapse.Mediator
,org.apache.synapse.mediators.FlowContinuableMediator
,org.apache.synapse.SynapseArtifact
public class EntitlementMediator extends org.apache.synapse.mediators.AbstractMediator implements org.apache.synapse.ManagedLifecycle, org.apache.synapse.mediators.FlowContinuableMediator, org.apache.synapse.debug.constructs.EnclosedInlinedSequence
-
-
Constructor Summary
Constructors Constructor Description EntitlementMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
org.apache.synapse.Mediator
getAdviceMediator()
String
getAdviceSeqKey()
String
getCacheType()
String
getCallbackClass()
String
getClient()
org.apache.synapse.Mediator
getInlineSequence(org.apache.synapse.config.SynapseConfiguration synCfg, int inlinedSeqIdentifier)
int
getInvalidationInterval()
int
getMaxCacheEntries()
org.apache.synapse.Mediator
getObligationsMediator()
String
getObligationsSeqKey()
org.apache.synapse.Mediator
getOnAcceptMediator()
String
getOnAcceptSeqKey()
org.apache.synapse.Mediator
getOnRejectMediator()
String
getOnRejectSeqKey()
String
getRemoteServicePassword()
String
getRemoteServicePasswordKey()
String
getRemoteServiceUrl()
String
getRemoteServiceUrlKey()
String
getRemoteServiceUserName()
String
getRemoteServiceUserNameKey()
String
getReuseSession()
String
getThriftHost()
String
getThriftPort()
void
init(org.apache.synapse.core.SynapseEnvironment synEnv)
boolean
mediate(org.apache.synapse.MessageContext synCtx)
boolean
mediate(org.apache.synapse.MessageContext synCtx, org.apache.synapse.ContinuationState continuationState)
void
setAdviceMediator(org.apache.synapse.Mediator adviceMediator)
void
setAdviceSeqKey(String adviceSeqKey)
void
setCacheType(String cacheType)
void
setCallbackClass(String callbackClass)
void
setClient(String client)
void
setInvalidationInterval(int invalidationInterval)
void
setMaxCacheEntries(int maxCacheEntries)
void
setObligationsMediator(org.apache.synapse.Mediator obligationsMediator)
void
setObligationsSeqKey(String obligationsSeqKey)
void
setOnAcceptMediator(org.apache.synapse.Mediator onAcceptMediator)
void
setOnAcceptSeqKey(String onAcceptSeqKey)
void
setOnRejectMediator(org.apache.synapse.Mediator onRejectMediator)
void
setOnRejectSeqKey(String onRejectSeqKey)
void
setRemoteServicePassword(String remoteServicePassword)
void
setRemoteServicePasswordKey(String remoteServicePasswordKey)
void
setRemoteServiceUrl(String remoteServiceUrl)
void
setRemoteServiceUrlKey(String remoteServiceUrlKey)
void
setRemoteServiceUserName(String remoteServiceUserName)
void
setRemoteServiceUserNameKey(String remoteServiceUserNameKey)
void
setReuseSession(String reuseSession)
void
setThriftHost(String thriftHost)
void
setThriftPort(String thriftPort)
-
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, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
-
-
-
-
Method Detail
-
mediate
public boolean mediate(org.apache.synapse.MessageContext synCtx)
- Specified by:
mediate
in interfaceorg.apache.synapse.Mediator
-
mediate
public boolean mediate(org.apache.synapse.MessageContext synCtx, org.apache.synapse.ContinuationState continuationState)
- Specified by:
mediate
in interfaceorg.apache.synapse.mediators.FlowContinuableMediator
-
init
public void init(org.apache.synapse.core.SynapseEnvironment synEnv)
- Specified by:
init
in interfaceorg.apache.synapse.ManagedLifecycle
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.apache.synapse.ManagedLifecycle
-
getCallbackClass
public String getCallbackClass()
-
setCallbackClass
public void setCallbackClass(String callbackClass)
-
getRemoteServiceUserName
public String getRemoteServiceUserName()
-
setRemoteServiceUserName
public void setRemoteServiceUserName(String remoteServiceUserName)
-
getRemoteServiceUserNameKey
public String getRemoteServiceUserNameKey()
-
setRemoteServiceUserNameKey
public void setRemoteServiceUserNameKey(String remoteServiceUserNameKey)
-
getRemoteServicePasswordKey
public String getRemoteServicePasswordKey()
-
setRemoteServicePasswordKey
public void setRemoteServicePasswordKey(String remoteServicePasswordKey)
-
getRemoteServicePassword
public String getRemoteServicePassword()
-
setRemoteServicePassword
public void setRemoteServicePassword(String remoteServicePassword)
-
getRemoteServiceUrl
public String getRemoteServiceUrl()
-
setRemoteServiceUrl
public void setRemoteServiceUrl(String remoteServiceUrl)
-
getRemoteServiceUrlKey
public String getRemoteServiceUrlKey()
-
setRemoteServiceUrlKey
public void setRemoteServiceUrlKey(String remoteServiceUrlKey)
-
getCacheType
public String getCacheType()
-
setCacheType
public void setCacheType(String cacheType)
-
getInvalidationInterval
public int getInvalidationInterval()
-
setInvalidationInterval
public void setInvalidationInterval(int invalidationInterval)
-
getMaxCacheEntries
public int getMaxCacheEntries()
-
setMaxCacheEntries
public void setMaxCacheEntries(int maxCacheEntries)
-
getClient
public String getClient()
-
setClient
public void setClient(String client)
-
getThriftPort
public String getThriftPort()
-
setThriftPort
public void setThriftPort(String thriftPort)
-
getThriftHost
public String getThriftHost()
-
setThriftHost
public void setThriftHost(String thriftHost)
-
getReuseSession
public String getReuseSession()
-
setReuseSession
public void setReuseSession(String reuseSession)
-
getOnRejectSeqKey
public String getOnRejectSeqKey()
-
setOnRejectMediator
public void setOnRejectMediator(org.apache.synapse.Mediator onRejectMediator)
-
getOnAcceptSeqKey
public String getOnAcceptSeqKey()
-
setOnAcceptMediator
public void setOnAcceptMediator(org.apache.synapse.Mediator onAcceptMediator)
-
getOnRejectMediator
public org.apache.synapse.Mediator getOnRejectMediator()
-
setOnRejectSeqKey
public void setOnRejectSeqKey(String onRejectSeqKey)
-
getOnAcceptMediator
public org.apache.synapse.Mediator getOnAcceptMediator()
-
setOnAcceptSeqKey
public void setOnAcceptSeqKey(String onAcceptSeqKey)
-
getObligationsSeqKey
public String getObligationsSeqKey()
-
setObligationsMediator
public void setObligationsMediator(org.apache.synapse.Mediator obligationsMediator)
-
getObligationsMediator
public org.apache.synapse.Mediator getObligationsMediator()
-
setObligationsSeqKey
public void setObligationsSeqKey(String obligationsSeqKey)
-
getAdviceMediator
public org.apache.synapse.Mediator getAdviceMediator()
-
setAdviceMediator
public void setAdviceMediator(org.apache.synapse.Mediator adviceMediator)
-
getAdviceSeqKey
public String getAdviceSeqKey()
-
setAdviceSeqKey
public void setAdviceSeqKey(String adviceSeqKey)
-
getInlineSequence
public org.apache.synapse.Mediator getInlineSequence(org.apache.synapse.config.SynapseConfiguration synCfg, int inlinedSeqIdentifier)
- Specified by:
getInlineSequence
in interfaceorg.apache.synapse.debug.constructs.EnclosedInlinedSequence
-
-