web stats
Mirth Http Sender using windows authentication - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 09-27-2019, 12:19 PM
jerchap jerchap is offline
OBX.3 Kenobi
Join Date: Nov 2007
Location: British Columbia, Canada
Posts: 131
jerchap is an unknown quantity at this point
Default Mirth Http Sender using windows authentication

We have a rest service that is secured requiring windows authentication (kerberos with fallback to ntml). When using the Http Sender we are geting an unauthorized error. Is there a way to configure the destination to pass the credentials of the service account?
Reply With Quote
Old 09-30-2019, 06:39 AM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,176
agermano is on a distinguished road

Not sure if it will work, but have you tried turning off authentication in the http sender?

If that doesn't work, you'll probably have to use the httpclient java classes directly rather than an HTTP Sender.
Reply With Quote
Old 09-30-2019, 07:04 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

Another possibility would be for you to manually construct the value in a transformer, then include your custom Authorization header on the HTTP Sender. This would still require some work obviously, but maybe it's possible using the jCIFS library that is included with Connect by default:

Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote

http sernder, kerberos, ntlm, windows authentication

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 08:03 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation