Solved

Weblogic OpenLDAPAuthenticator : How to get LDAP fields (such as homephone) of users in application

Posted on 2010-09-10
3
1,089 Views
Last Modified: 2013-12-10
Hello !

I have a Weblogic Domain with a security realm containing an LDAPAuthenticator ...

My problem : i can authenticate in the application with a user in the Ldap, but i need to get some fields stored in the Ldap such as :
- email
- phone number
- ...

I don't know how to do that. Is there a way to get an object representing the ldap user, and by this way get the ldap attributes ?

Thanks for your responses.
0
Comment
Question by:cobol60
  • 2
3 Comments
 
LVL 10

Expert Comment

by:ECollin
ID: 33646954
0
 
LVL 1

Author Comment

by:cobol60
ID: 33647176
The problem is that i don't want to reconnect via another ldap library ...

I MUST use weblogic authentication because the ldap schema can be altered in the future and we need to be able to configure the ldap requesting via the Weblogic console and NOT to redeploy the application.

So the solution i need could be :
- getting an object from the weblogic authentication subsystem
- on this object getting the ldap attributes.

Can i do this with the library you mentionned ?

if Yes, could you provide a sample ?

Thanks
0
 
LVL 10

Accepted Solution

by:
ECollin earned 500 total points
ID: 33676229
you won' be able to retrieve ldap objects read by the ldap authenticator. This component will run as a black box inside the security framework.
I think there is a confusion between authenticating users and retrieving profile information such as email, firstname... It's not the responibility of the weblogic server security framework to load profile information. You have to write and deploy your own component to achieve this.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now