• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating an EJB from Active Directory

 
Kelvin Marshall
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Active Directory is a directory service. EJBs are a managed software component. What do you mean by creating one from the other?
 
Kelvin Marshall
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you need an EJB that works as a Facade to Active Directory?
 
Kelvin Marshall
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic