Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentication with LDAP using Java(URGENT)

 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Security.
 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic