Configuring Tomcat to authenticate using Windows Active Directory

前端 未结 4 1125
我寻月下人不归
我寻月下人不归 2020-12-04 10:52

What is the best way to configure Tomcat 5.5 or later to authenticate users from Windows Active Directory?

4条回答
  •  半阙折子戏
    2020-12-04 11:29

    Blauhr's answer is good, but the CN of a user in AD is based on their "Display Name", not their saMAccountName (which user's are used to logging in with). Based on his solution, it looks like someone would have to log in with their Display Name, based on the userPattern.

    I've personally used the following:

          
    

    Everything else would pretty much work the same.

提交回复
热议问题