The Artima Developer Community
Sponsored Link

Java Answers Forum
java + win2000

2 replies on 1 page. Most recent reply: Apr 4, 2002 3:16 PM by Maysoon

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Maysoon

Posts: 64
Nickname: hm
Registered: Mar, 2002

java + win2000 Posted: Apr 3, 2002 2:50 PM
Reply to this message Reply
Advertisement
i want to write a chattin program that requiered

a password and user name from windows 2000
that when client log on he must type his window 2000
password and user name ,so i must connect to the Database of win2000 server in order to ckeck if he
has a password if not ,the program must make a one
for him ...


is this possiple with java ..
how can i reach to this database?


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: java + win2000 Posted: Apr 4, 2002 1:33 AM
Reply to this message Reply
You must either use JAAS (http://java.sun.com/products/jaas/) or try to use LDAP/JNDI. I would suggest that the simplest answer would be to create a JAAS service that allows you to request to autheticate users in Java. Sun published at a time a connectot towards the Microsoft environment !

Your architecture would be much cleaner if you do use LDAP for that, though ....

For JAAS these should help :
http://java.sun.com/security/jaas/doc/module.html
http://java.sun.com/security/jaas/doc/pam.html

Maysoon

Posts: 64
Nickname: hm
Registered: Mar, 2002

Re: java + win2000 Posted: Apr 4, 2002 3:16 PM
Reply to this message Reply
Thank you very much Mr. Thomas

Flat View: This topic has 2 replies on 1 page
Topic: Synchronization and collections Previous Topic   Next Topic Topic: Saving a 2D draw to a vectorial file?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use