Find your content:

Search form

You are here

Can someone provide good examples or pointers on how to integrate LDAP with Apex?

 
Share

Does anyone have examples or pointers on how to integrate LDAP with Apex? We are running Apache DS and are looking to use our existing LDAP system to manage roles in our customer portal. Before I embark on integrating into the LDAP API from scratch, I thought I would see if anyone else has solved the same req before.

To be clear, this is not about the SSO/SAML capabilities that salesforce has built into the platform.


Attribution to: ebt

Possible Suggestion/Solution #1

Directory Services Markup Language (DSML) is a representation of directory service information in an XML syntax, typically carried over SOAP/HTTPS. You might want to look at the Fedora DSML Gateway - you should be able to send DSML from Apex to the gateway, and have it translate into LDAP for Apache DS.


Attribution to: metadaddy

Possible Suggestion/Solution #2

The only protocol supported from within Salesforce to connect to external services is HTTP(S), so you won't be able to code up LDAP requests from Apex. If your LDAP service also supports an HTTP(S) based API you could call it from Apex, or you could run an integration externally to both systems that talks LDAP to your DS, and uses the Web services APIs to update Salesforce.


Attribution to: superfell
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/271

My Block Status

My Block Content