File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Authentication with LDAP using Java(URGENT) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Authentication with LDAP using Java(URGENT)" Watch "Authentication with LDAP using Java(URGENT)" New topic
Author

Authentication with LDAP using Java(URGENT)

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
Hi,
I am running java application in Win2k advanced server which has LDAP in built. In my application, we have to login and whatever username & password(username and password is always of LDAP) we enter, we have to do authentication with LDAP using Context and DirContext api of java. We used Context, SECURITY_AUTHENTICATION with simple value. Now let's say I have user Administrator and password is admin. Now in my login page if I enter ADMINISTRATOR, still it's authenticate successfully. I don't want to allow this. I want to allow case sensitive only. How can I do that?
Thanks,
Angela
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moving to Security.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Leena Diwan
Ranch Hand

Joined: Jun 18, 2001
Posts: 351
Hello,
I was also waiting for answer to this difficulty. Angela, could you find it out ? If yes, can you share it with us ?
Kirti


[SCJP2, SCWCD1.3, SCBCD]
 
Don't get me started about those stupid light bulbs.
 
subject: Authentication with LDAP using Java(URGENT)