com.liferay.portal.security.ldap
Class BaseLDAPToPortalConverter

java.lang.Object
  extended by com.liferay.portal.security.ldap.BaseLDAPToPortalConverter
All Implemented Interfaces:
com.liferay.portal.security.ldap.LDAPToPortalConverter

public class BaseLDAPToPortalConverter
extends java.lang.Object
implements com.liferay.portal.security.ldap.LDAPToPortalConverter

View Source

Author:
Edward Han, Brian Wing Shun Chan

Constructor Summary
BaseLDAPToPortalConverter()
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.String> getExpandoAttributes(javax.naming.directory.Attributes attributes, java.util.Properties expandoMappings)
           
 com.liferay.portal.security.ldap.LDAPGroup importLDAPGroup(long companyId, javax.naming.directory.Attributes attributes, java.util.Properties groupMappings)
           
 com.liferay.portal.security.ldap.LDAPUser importLDAPUser(long companyId, javax.naming.directory.Attributes attributes, java.util.Properties userMappings, java.util.Properties userExpandoMappings, java.util.Properties contactMappings, java.util.Properties contactExpandoMappings, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLDAPToPortalConverter

public BaseLDAPToPortalConverter()
Method Detail

importLDAPGroup

public com.liferay.portal.security.ldap.LDAPGroup importLDAPGroup(long companyId,
                                                                  javax.naming.directory.Attributes attributes,
                                                                  java.util.Properties groupMappings)
                                                           throws java.lang.Exception
Specified by:
importLDAPGroup in interface com.liferay.portal.security.ldap.LDAPToPortalConverter
Throws:
java.lang.Exception

importLDAPUser

public com.liferay.portal.security.ldap.LDAPUser importLDAPUser(long companyId,
                                                                javax.naming.directory.Attributes attributes,
                                                                java.util.Properties userMappings,
                                                                java.util.Properties userExpandoMappings,
                                                                java.util.Properties contactMappings,
                                                                java.util.Properties contactExpandoMappings,
                                                                java.lang.String password)
                                                         throws java.lang.Exception
Specified by:
importLDAPUser in interface com.liferay.portal.security.ldap.LDAPToPortalConverter
Throws:
java.lang.Exception

getExpandoAttributes

protected java.util.Map<java.lang.String,java.lang.String> getExpandoAttributes(javax.naming.directory.Attributes attributes,
                                                                                java.util.Properties expandoMappings)
                                                                         throws javax.naming.NamingException
Throws:
javax.naming.NamingException