0

I have a web application on Liberty that uses form-based authentication. Is there native support in Liberty to integrate NTLM-based Windows Authentication (Liberty version 8.5.5.6) ?

Anton
  • 153
  • 2
  • 12

2 Answers2

1

The is no support for NTLM, but if you are looking for web based SSO with Windows, Liberty fully supports Kerberos/SPNEGO authentication.

For more details check Configuring SPNEGO authentication in Liberty

Gas
  • 17,601
  • 4
  • 46
  • 93
  • Thanks, I came across the same link. For this configuration, it seems that you'll need access to the domain controller machine, which I don't have. Is there an alternate way for configuring the domain controller? – Anton Dec 22 '15 at 15:56
0

There is no native support for NTLM-based Windows Authentication on Liberty that I know of, but Liberty can still utilize services that have NTLM support.

For example, configuring a DataSource that uses JDBC NTLM Authentication:

<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>

Sources:

Andy Guibert
  • 41,446
  • 8
  • 38
  • 61