File Name: /_system/governance/apimgt/customsequences/in/global_auth_header.xml
Content:
<sequence xmlns="http://ws.apache.org/ns/synapse" name="WSO2AM--ExtAuth--In">
<property name="TPaaS-Authorization" expression="$trp:TPaaS-Authorization" scope="default" type="STRING"/>
<filter xpath="fn:string-length(get-property('TPaaS-Authorization')) > 0">
<then>
<property name="Authorization" expression="get-property('TPaaS-Authorization')" scope="transport"/>
<log level="custom">
<property name="TRACE" value="Global Mediation Extension by Guru Authorization is there."/>
</log>
</then>
<else>
<log level="custom">
<property name="TRACE" value="Global Mediation Extension by Guru Authorization is not there."/>
</log>
</else>
</filter>
</sequence>
No comments:
Post a Comment