骡子:如何在Mule ESB中进行NTLM身份验证?

时间:2014-04-17 05:13:25

标签: authentication mule ntlm

如何在Mule(Mule Studio 3.5)中进行NTLM身份验证?

在互联网上我找到了以下方法: <http:connector name="HTTP_HTTPS" ... proxyHostname="..." proxyPort="80" proxyPassword="..." proxyUsername="Castor.Acer"> <spring:property name="proxyNtlmAuthentication" value="true"/> </http:connector>

<http:connector name="httpConnector" proxyHostname="someHost" proxyPort="8080" proxyNtlmAuthentication="true" proxyUsername="someUser" proxyPassword="somePass" />

但没有一个对我有用,或者我正确配置它?

目前我正在使用它如下:

<mule> <http:connector name="HTTPO" proxyHostname="10.91.17.170" proxyPort="81" proxyUsername="administrator" proxyPassword="Psw0rd123" doc:name="HTTP\HTTPS"> <spring:property name="proxyNtlmAuthentication" value="true"/> </http:connector> <flow name="testPraveenFlow1" doc:name="testPraveenFlow1"> <http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:81/Orcha" doc:name="HTTP"/> <custom-transformer class="com.CreateBook" doc:name="Java"/> <http:outbound-endpoint exchange-pattern="request-response" method="POST" contentType="text/xml" doc:name="HTTP" address="http://10.91.17.170:81/Orch2012/Orch.svc/jobs" connector-ref="HTTPO"/> <byte-array-to-string-transformer doc:name="Byte Array to String"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> </flow> </mule>

输出: 401 - Unauthorized: Access is denied due to invalid credentials.</h2> You do not have permission to view this directory or page using the credentials that you supplied.

0 个答案:

没有答案