It's not a secret anymore!*
The moose likes Java in General and the fly likes Creating an EJB from Active Directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating an EJB from Active Directory" Watch "Creating an EJB from Active Directory" New topic
Author

Creating an EJB from Active Directory

Kelvin Marshall
Greenhorn

Joined: Jun 13, 2005
Posts: 7
Does anyone know a way to create an EJB from Active Directory? I am using Rational Application Developer and need to pass the username and some information from Active Directory to Websphere...
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Active Directory is a directory service. EJBs are a managed software component. What do you mean by creating one from the other?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Kelvin Marshall
Greenhorn

Joined: Jun 13, 2005
Posts: 7
I need to pass parameters from Active Directory to Websphere. I was told to create an EJB from Active Directory to hold this info.

From a form based login, I need to pass information that was not entered in the login to Websphere. In the login, the only information that will be passed is Userid. I also need to include other information, ie Full Name or Phone Number.
Richard Anderson
Ranch Hand

Joined: May 20, 2005
Posts: 61
It sounds like you'd create an EJB in Websphere that would handle the information from Active Directory, but you wouldn't create an EJB in Active Directory. Active Directory is M$'s excuse for an LDAP implementation.


-Rich, SCJP 1.4
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
So you need an EJB that works as a Facade to Active Directory?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Kelvin Marshall
Greenhorn

Joined: Jun 13, 2005
Posts: 7
Yes, that is right...I need to pass some parameters from Active Directory to a JSP...some that were not entered in the login page...
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
From a fast google search, it looks like you'd use JNDI for that. Don't know enough about it to give more specific advice than to look at Sun's tutorials on the topic, though.
 
GeeCON Prague 2014
 
subject: Creating an EJB from Active Directory