Solved

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

Posted on 2010-09-10
3
1,086 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

746 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

8 Experts available now in Live!

Get 1:1 Help Now