查看: 828|回复: 10
|
急。。。。SINGLE SIGN ON
[复制链接]
|
|
我有一个 ACTIVE Directory
我要 get username and password
然后user 不用通过 login screen 来 login to the system..
应为这是一个internal 的系统。。。。。
我是用 JSP 来作网站的。。。。
小弟有想过 用 ADSI 但。。可以跑吗。。。。
有人做过这样的东东吗。。。。
还是用 WINDOWS HOST SCRIPT。。。。 |
|
|
|
|
|
|
|
发表于 29-11-2005 09:53 PM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 30-11-2005 09:04 AM
|
显示全部楼层
对。。我们是用LDAP 来查询的。。有什么好方法。。。
自是不知道如何下手。。。
你有做过Single sign on 吗。。 |
|
|
|
|
|
|
|

楼主 |
发表于 30-11-2005 10:15 AM
|
显示全部楼层
IF I HAVE 2 COMPUTERs...1 is domain controller ...another client...
should i join to this domain when i want to use the LDAP...
or the client can be independent PC..without joining the domain and can use the LDAP...thru the special ID ??
plz clear my doubt... |
|
|
|
|
|
|
|

楼主 |
发表于 30-11-2005 05:43 PM
|
显示全部楼层
i have i domain controller "msdn.com"
enterprise admin : ahming pwd=123456
我用以下的来连接可以吗。。。。
- public static final String contextFactory = "com.sun.jndi.ldap.LdapCtxFactory";
- public static final String providerURL = "ldap://msdn.com";
- public static final String securityPrincipal = "ahming";
- public static final String securityCredential = "123456";
- public static final String remainDC = ",DC=COM";
- public static final String domain = "dc=msdn;dc=com";
复制代码 |
|
|
|
|
|
|
|

楼主 |
发表于 30-11-2005 05:44 PM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 30-11-2005 06:12 PM
|
显示全部楼层
ldap://dc-one/CN=name,CN=Users,DC=example,DC=net
dc-one 代表什么
CN 代表什么
DC 代表什么
if i have this...
pc name=jalcydd
domain name= tess.com
username=test1
我要做什么。。。。。。 |
|
|
|
|
|
|
|
发表于 1-12-2005 06:44 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 1-12-2005 06:47 AM
|
显示全部楼层
原帖由 Imnotsad 于 30-11-2005 06:12 PM 发表
ldap://dc-one/CN=name,CN=Users,DC=example,DC=net
dc-one 代表什么
CN 代表什么
DC 代表什么
if i have this...
pc name=jalcydd
domain name= tess.com
username=test1
我要做什么。。。 ...
用這個 LDAP BROWSER
http://www-unix.mcs.anl.gov/~gawor/ldap/
ldap://jalcydd/DC=tess,DC=com |
|
|
|
|
|
|
|

楼主 |
发表于 1-12-2005 09:54 AM
|
显示全部楼层
- user=test1 groups=Sales pwd=123456 domain name=tess.com
复制代码
Sample Code
- //specify the LDAP search filter
- String searchFilter = "(objectClass=user)";
-
- //Specify the Base for the search
- String searchBase ="CN=Albert Einstein,OU=Research,DC=antipodes,DC=com";
复制代码
我要如何写我的 searchFilter and searchBase |
|
|
|
|
|
|
|

楼主 |
发表于 2-12-2005 11:28 AM
|
显示全部楼层
i cant even use the
ldap://test.com to query the user in my domain controller... |
|
|
|
|
|
|
| |
本周最热论坛帖子
|