通过在Tomcat中的web.xml LDAP认证 [英] LDAP authentication via web.xml in Tomcat

查看:543
本文介绍了通过在Tomcat中的web.xml LDAP认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能告诉我关于在Tomcat 6实施LDAP安全一个很简单的例子吗?我不知道远远超出部署war文件和弹跳Tomcat服务器。在此先感谢!

Can someone show me a very simple example on implementing LDAP security on Tomcat 6, please? I know not much beyond deploying a war file and bouncing Tomcat server. Thanks in advance!

推荐答案

有通过带的Apache Tomcat JNDI的官方文档中使用LDAP有关的例子:的 http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm

There are examples regarding using LDAP via JNDI with Apache Tomcat in the official documentation: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm

境界的配置为您的容器完成,映射的境界是的web.xml

The configuration of the realm is done for your container, the mapping to the realm is in web.xml.

一个快速谷歌搜索导致的:<一href=\"http://blog.mc-thias.org/?title=tomcat_ldap_authentication&more=1&c=1&tb=1&pb=1\" rel=\"nofollow\">http://blog.mc-thias.org/?title=tomcat_ldap_authentication&more=1&c=1&tb=1&pb=1

A quick Google search led to this: http://blog.mc-thias.org/?title=tomcat_ldap_authentication&more=1&c=1&tb=1&pb=1

这篇关于通过在Tomcat中的web.xml LDAP认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆