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 Presto 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 Presto 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 © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback