Results 1 to 1 of 1
- 12-29-2011, 10:21 AM #1
Member
- Join Date
- Dec 2011
- Posts
- 1
- Rep Power
- 0
LDAP Authentication - How to bind twice
Hi all,
I need to authenticate users against LDAP server.
The issue is that:
I have two pairs of username/password.
One is a default hard-coded pair for initail binding.
And the other is what the user types in the login screen.
Is there a way to create an initail context with the first pair, and then authenticate the second pair?
I searched for some examplaes but couldn't find a way.
It seems that I need to create a subcontext from the initail context, but how can I send the second password?
Thanks,
Sean
Similar Threads
-
opensso with ldap
By javastuden in forum Advanced JavaReplies: 0Last Post: 12-19-2011, 05:55 AM -
Ldap authentication on Active Directory in Java using Spring Security with Example
By javin.paul in forum Reviews / AdvertisingReplies: 0Last Post: 11-19-2011, 06:25 PM -
how to bind the class into a .jar
By nirasiva in forum New To JavaReplies: 4Last Post: 06-03-2011, 08:53 AM -
Ldap bind mechanism in java
By ppo in forum Advanced JavaReplies: 5Last Post: 06-10-2010, 03:25 AM -
Program to validate a user against LDAP for login Authentication
By syntel in forum Java ServletReplies: 2Last Post: 05-18-2010, 03:12 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks