Version: 17.07
Supported Since: 17.07
Authentication Credential Setter Processor is a processing element which can be used to set authentication credential to an integration flow message which is supposed to send out using a HTTP egress connector. This processing element support following HTTP authentication schemes.
Basic Authentication
Digest Authentication
In order to use this processing element, you must first select the HTTP NIO Connector dependency from the connector list when you are creating an empty Ultra project. If you have already created a project, you can add the HTTP NIO Connector dependency via Component Registry. From Tools menu, select Ultra Studio → Component Registry and from the Connectors list, select the HTTP NIO Connector dependency. |
Next |
The message will be sent to this outport if setting authentication credential is successful |
On Exception |
The message will be sent to this outport if the processing element failed in setting authentication credential operation |
Authentication Scheme * |
Basic |
The name of setting Authentication Scheme |
||
Username * |
Basic |
Authentication Username |
||
Password * |
Basic |
Authentication Password |
||
Charset * |
Basic |
Encode authentication credential using given charset
|
||
Proxy * |
Basic |
if header should be for proxy authentication or WWW authentication. If proxy is true, then set authentication credential as proxy authentication, otherwise set authentication credential as WWW authentication.
|
In the following diagram (figure 1) there is an integration flow which takes the message in from a http ingress connector and sends it out to a another http endpoint using http egress connector. The requirement is to set authentication credential to the HTTP request which sends out from the egress connector.
I have added an Authentication Credential Setter processing element before the egress connector with the configurations as shown in the figure 2
Configuration for the Authentication Credential Setter element is as follows. To set authentication credential, we select the Authentication Scheme , gives Username, Password, Charset which is used to encode authentication credential and if this credential use for proxy authentication then check Proxy Authentication. setting Charset parameter & Proxy Authentication checker only depends on Basic Authentication Scheme