Solved

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

Posted on 2010-09-10
3
1,092 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Suggested Solutions

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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 how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

710 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