Configuring Tomcat to authenticate using Windows Active Directory

前端 未结 4 1126
我寻月下人不归
我寻月下人不归 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:20

    from www.jspwiki.org

    See : ActiveDirectoryIntegration

    Try this in the server.xml with your ldap-settings :

    
    

    and define the role in the tomcat-users.xml and the web.xml of your application

    edit webapp_root/WEB_INF/Web.xml file as follows:

    
       your web app display name
       
         Protected Area
         *.jsp
         *.html
         *.xml
       
       
         yourrolname(ADS Group)
       
     
     
       FORM
       
         /login.jsp
         /error.jsp
       
     
     
       your role description
       yourrolename(i.e ADS group)
     
    

提交回复
热议问题