com.liferay.portal.security.ldap
Class PortalLDAPExporterImpl

java.lang.Object
  extended by com.liferay.portal.security.ldap.PortalLDAPExporterImpl
All Implemented Interfaces:
com.liferay.portal.security.ldap.PortalLDAPExporter

public class PortalLDAPExporterImpl
extends java.lang.Object
implements com.liferay.portal.security.ldap.PortalLDAPExporter

View Source

Author:
Michael C. Han, Brian Wing Shun Chan

Constructor Summary
PortalLDAPExporterImpl()
           
 
Method Summary
protected  javax.naming.Binding createLDAPUser(long ldapServerId, javax.naming.ldap.LdapContext ldapContext, com.liferay.portal.model.User user, java.util.Properties userMappings)
           
 void exportToLDAP(com.liferay.portal.model.Contact contact, java.util.Map<java.lang.String,java.io.Serializable> contactExpandoAttributes)
           
 void exportToLDAP(com.liferay.portal.model.User user, java.util.Map<java.lang.String,java.io.Serializable> userExpandoAttributes)
           
 void setPortalToLDAPConverter(com.liferay.portal.security.ldap.PortalToLDAPConverter portalToLDAPConverter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalLDAPExporterImpl

public PortalLDAPExporterImpl()
Method Detail

exportToLDAP

public void exportToLDAP(com.liferay.portal.model.Contact contact,
                         java.util.Map<java.lang.String,java.io.Serializable> contactExpandoAttributes)
                  throws java.lang.Exception
Specified by:
exportToLDAP in interface com.liferay.portal.security.ldap.PortalLDAPExporter
Throws:
java.lang.Exception

exportToLDAP

public void exportToLDAP(com.liferay.portal.model.User user,
                         java.util.Map<java.lang.String,java.io.Serializable> userExpandoAttributes)
                  throws java.lang.Exception
Specified by:
exportToLDAP in interface com.liferay.portal.security.ldap.PortalLDAPExporter
Throws:
java.lang.Exception

setPortalToLDAPConverter

public void setPortalToLDAPConverter(com.liferay.portal.security.ldap.PortalToLDAPConverter portalToLDAPConverter)

createLDAPUser

protected javax.naming.Binding createLDAPUser(long ldapServerId,
                                              javax.naming.ldap.LdapContext ldapContext,
                                              com.liferay.portal.model.User user,
                                              java.util.Properties userMappings)
                                       throws java.lang.Exception
Throws:
java.lang.Exception