Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-09-10
3
Medium Priority
?
1,095 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

715 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