This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes BEA/Weblogic and the fly likes Jaas-Weblogic-External LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Jaas-Weblogic-External LDAP" Watch "Jaas-Weblogic-External LDAP" New topic

Jaas-Weblogic-External LDAP

Gigi Kent
Ranch Hand

Joined: Nov 30, 2004
Posts: 40
Hi Guys.

I have a task to do, and for several days am searching but not founding the solution.
So, I have to do a module to authenticate one user to an external LDAP via weblogic.
So, the modul does not know that there is a LDAP behind or a database.
I've found many examples but none for what I'm looking for.
I understand that I need a ContextLogin, a custom CallbackHandler and a LoginModule.
I found something, and it works partially with an embedded LDAP.
With an external LDAP does not work. It says user "failed to be authenticated".
I've added an provider on weblogic via the console, I see the user bringed from LDAP but...the rest...

I think i need another LoginModule different from UsernamePasswordLoginModule.

Can you give me more traks to follow?

Thanks alot.

Best regards,

[ September 22, 2008: Message edited by: Corneliu Croitoru ]
[ September 22, 2008: Message edited by: Corneliu Croitoru ]
lavnish lalchandani
Ranch Hand

Joined: Feb 28, 2007
Posts: 79
did you get any reply ?
I am on a similar track , except i need to use embedded LDAP
I agree. Here's the link:
subject: Jaas-Weblogic-External LDAP