MashZone NextGen 10.2 | 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 © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release