• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Active Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Active Directory


  • Subject: Re: Active Directory
  • From: "Albert Jagnow" <email@hidden>
  • Date: Mon, 23 May 2005 10:59:31 -0500
  • Importance: normal
  • Priority: normal

Active Directory is basically just LDAP with some quirks. You can query LDAP data sources by using the standard Java JNDI methods, or with webobjects you can create a JNDI based EOModel. If you create an EOModel most user information can be mapped from organizationalPerson. The standard LDAP port Active directory uses is 389, if you need this to be secure you will want to use secure ldap (port 636 i think). I think there is some configuration and certificate setup that needs to happen to run secure ldap. I have several applications that query Active Directory for user information using the JNDI EOModel. I am not an expert in this area, but if you have more specifics you want to know about I will try to answer.

Here is an Example EOModel JNDI Connection Dictionary, not a production example, but you get the idea:

com.mycompany.connectionDictionary.ActiveDirectory = { \
authenticationMethod = Simple; \
initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory"; \
password = "myPassword"; \
plugInClassName = "com.webobjects.jndiadaptor.LDAPPlugIn"; \
scope = Subtree; \
serverUrl = "ldap://192.168.0.1:389/OU=MyUsers,DC=mycompany,DC=com";; \
timeout = 3600; \
username = "CN=Albert Jagnow,OU=MyDepartment,OU=MyUsers,DC=mycompany,DC=com"; \
}


--Albert


On May 23, 2005, at 10:14 AM, James Cicenia wrote:

Hello -

I don't know much about Active Directory, and have a request for my
application to query for the user profiles, etc., We are a hosted application
so could this be done via SSL, etc.,?


Again I know very little about Active Directory so as much info as possible
would be great.


- James Cicenia


This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Active Directory
      • From: James Cicenia <email@hidden>
References: 
 >Active Directory (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Active Directory
  • Next by Date: Re: Packaging webobjects apps and frameworks
  • Previous by thread: Re: Active Directory
  • Next by thread: Re: Active Directory
  • Index(es):
    • Date
    • Thread