Sun Java System目录服务器身份验证 [英] Sun Java System Directory Server Authentication

查看:98
本文介绍了Sun Java System目录服务器身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是LDAP和目录服务的新手,我有一个项目

要求我根据Sun Java系统目录验证用户

服务器以便访问应用程序。我已经找到了几十个关于如何针对Active Directory对用户进行身份验证的示例,但AD

似乎与Sun Java System Directory Server不同。


有人可以向我提供一个如何使用Active Directory以外的目录服务器验证用户

的示例(特别是

Sun Java System Directory Server(如果可以的话)使用C#或者指向一个

在线资源?


谢谢!

I am new to LDAP and Directory Services, and I have a project that
requires me to authenticate users against a Sun Java System Directory
Server in order to access the application. I have found dozens of
examples of how to authenticate users against Active Directory, but AD
seems to be a different animal than Sun Java System Directory Server.

Could someone provide me with an example of how to authenticate a user
against a Directory Server other than Active Directory (specifically
Sun Java System Directory Server if you can) using C# or point me to an
online resource?

Thanks!

推荐答案

请原谅我说。我不明白为什么VS 2005需要投入到b
LDAP,因为我认为有人不想运行他们的WinApp(Windows

应用程序)或WebApp(ASP)在Solaris中的.NET。


chanmm


< tr ******** @ gmail.comwrote in message

新闻:11 ********************** @ 80g2000cwy.googlegro ups.com ...
Forgive me to say that. I did not see why VS 2005 need to put in effort for
LDAP because I do not think someone will like to run their WinApp (Windows
Application) or WebApp (ASP.NET) in Solaris.

chanmm

<tr********@gmail.comwrote in message
news:11**********************@80g2000cwy.googlegro ups.com...

>我是LDAP和目录服务的新手,我有一个项目

要求我根据Sun Java系统目录对用户进行身份验证

服务器以便访问应用程序。我已经找到了几十个关于如何针对Active Directory对用户进行身份验证的示例,但AD

似乎与Sun Java System Directory Server不同。


有人可以向我提供一个如何使用Active Directory以外的目录服务器验证用户

的示例(特别是

Sun Java System Directory Server(如果可以的话)使用C#或指向一个

在线资源?


谢谢!
>I am new to LDAP and Directory Services, and I have a project that
requires me to authenticate users against a Sun Java System Directory
Server in order to access the application. I have found dozens of
examples of how to authenticate users against Active Directory, but AD
seems to be a different animal than Sun Java System Directory Server.

Could someone provide me with an example of how to authenticate a user
against a Directory Server other than Active Directory (specifically
Sun Java System Directory Server if you can) using C# or point me to an
online resource?

Thanks!


Chan Ming Man< ch ***** @ hotmail.comwrote:
Chan Ming Man <ch*****@hotmail.comwrote:

原谅我这么说。我不明白为什么VS 2005需要投入到b
LDAP,因为我认为有人不想运行他们的WinApp(Windows

应用程序)或WebApp(ASP) .NET)在Solaris中。
Forgive me to say that. I did not see why VS 2005 need to put in effort for
LDAP because I do not think someone will like to run their WinApp (Windows
Application) or WebApp (ASP.NET) in Solaris.



仅仅因为你没有在Solaris上运行应用程序本身没有b $ b意味着你不需要说话到Solaris LDAP服务器。


您能想象如果Web客户端工具只允许您从IIS获取

页面吗?

-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet 博客: http://www.msmvps.com/jon.skeet

如果回复该群组,请不要给我发邮件

Just because you don''t run the application itself on Solaris doesn''t
mean you won''t need to talk to a Solaris LDAP server.

Can you imagine if the web client facilities only allowed you to fetch
pages from IIS?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too


" Jon Skeet [C#MVP]" < sk *** @ pobox.com写了留言

新闻:MP ************************ @ msnews。 microsoft.c om ...
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...

Chan Ming Man< ch ***** @ hotmail.comwrote:
Chan Ming Man <ch*****@hotmail.comwrote:

>原谅我这么说。我不明白为什么VS 2005需要为LDAP工作,因为我不认为有人会喜欢在Solaris中运行他们的WinApp(Windows
应用程序)或WebApp(ASP.NET)。
>Forgive me to say that. I did not see why VS 2005 need to put in effort for
LDAP because I do not think someone will like to run their WinApp (Windows
Application) or WebApp (ASP.NET) in Solaris.



仅仅因为你没有在Solaris上运行应用程序本身没有b $ b意味着你不需要说话到Solaris LDAP服务器。


您能想象如果Web客户端工具只允许您从IIS获取

页面吗?


Just because you don''t run the application itself on Solaris doesn''t
mean you won''t need to talk to a Solaris LDAP server.

Can you imagine if the web client facilities only allowed you to fetch
pages from IIS?



Jon,

这对于简单的HTML来说没问题,所有的网络服务器都会处理它,但是你不能指望Solaris

" Webserver"处理asp或asp.net请求。

对于LDAP来说同样的比喻,你不能指望它处理Windows

帐户的身份验证,对吗? LDAP不是一种身份验证协议,并且处理不需要LDAP服务器(就像
Windows上的AD一样)。所有可能的身份验证类型请求,或者,如果您希望它实现AD模式,也不需要


也就是说,System.DirectoryServices.Protocols命名空间提供对低级访问

LDAP V3协议,所以OP应该从这里开始。


Willy。

Jon,
This is Ok for simple HTML, all webservers will handle that, but you can''t expect a Solaris
"Webserver" to handle asp or asp.net requests.
The same analogy goes for LDAP, you can''t expect it to handle authentication of Windows
accounts, right? LDAP is not an authentication protocol and an LDAP server (just as an AD on
Windows) is not required to "handle" all possible authentication type requests either, nor
should you expect it to implement the AD schema.
That said, the System.DirectoryServices.Protocols namespace offers low-level access to the
LDAP V3 protocol, so this is where the OP should start with.

Willy.


这篇关于Sun Java System目录服务器身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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