Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Advanced Mashup Techniques : Adding Authentication Headers for Component Mashables : Construct Mashable Authentication Headers
Construct Mashable Authentication Headers
Use <constructor> or <variable> with literal XML to create the optional MashZone NextGen header for authentication credentials for the component mashable in your mashup script. The name of the header becomes the root element within the variable and each property is a child element.
Basic HTTP authentication uses the httpBasicAuth MashZone NextGen header with username and password properties. For example:
<variable name="basicAuthHeader" type="document">
<httpBasicAuth>
<username>svcuser</username>
<password>svcpw</password>
</httpBasicAuth>
</variable>
Authentication for Windows NT Domains uses the ntlmAuth and adds a domain property:
<variable name="ntlmAuthHeader" type="document">
<ntlmAuth>
<username>svcuser</username>
<password>svcpw</password>
<domain>ntDomain</domain>
</ntlmAuth>
</variable>
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback