【发布时间】:2015-12-21 17:41:36
【问题描述】:
我在 Liberty 上有一个使用基于表单的身份验证的 Web 应用程序。 Liberty 中是否支持集成基于 NTLM 的 Windows 身份验证(Liberty 版本 8.5.5.6)?
【问题讨论】:
标签: websphere windows-authentication ntlm websphere-liberty
我在 Liberty 上有一个使用基于表单的身份验证的 Web 应用程序。 Liberty 中是否支持集成基于 NTLM 的 Windows 身份验证(Liberty 版本 8.5.5.6)?
【问题讨论】:
标签: websphere windows-authentication ntlm websphere-liberty
不支持 NTLM,但如果您正在寻找基于 Web 的 Windows SSO,Liberty 完全支持 Kerberos/SPNEGO 身份验证。
【讨论】:
据我所知,Liberty 上不支持基于 NTLM 的 Windows 身份验证,但 Liberty 仍然可以利用支持 NTLM 的服务。
例如,配置使用 JDBC NTLM 身份验证的 DataSource:
<dataSource id="NTLM-DataSource" jndiName="jdbc/NTLM-DataSource">
<jdbcDriver libraryRef="DataDirectLib"/>
<properties databaseName="SAMPLEDB"
hostName="localhost"
port="12345"
URL="jdbc:datadirect:sqlserver://localhost\SAMPLEDB;AuthenticationMethod=ntlm;DatabaseName=MyServer$SAMPLEDB"/>
</dataSource>
<library id="DataDirectLib">
<fileset dir="C:/path/to/sqlserver.jar"/>
</library>
来源:
【讨论】: