wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Authentication with LDAP using Java(URGENT)" Watch "Authentication with LDAP using Java(URGENT)" New topic

Authentication with LDAP using Java(URGENT)

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
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?
Cindy Glass
"The Hood"

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
I was also waiting for answer to this difficulty. Angela, could you find it out ? If yes, can you share it with us ?

Consider Paul's rocket mass heater.
subject: Authentication with LDAP using Java(URGENT)
Similar Threads
Need to send message to struts JSP after creating PDF
Migrating JAAS from JBoss to Websphere 6.1
best practice for authentication and role assignation.
Encryption/decryption using core java and then insert into database
LDAP Authentication using Java