| java.lang.Object com.liferay.portal.security.ldap.PortalLDAPUtil
PortalLDAPUtil | public class PortalLDAPUtil (Code) | | View Source
author: Michael Young author: Brian Wing Shun Chan author: Jerry Niu author: Scott Lee author: Hervé Ménage |
Method Summary | |
public static void | exportToLDAP(Contact contact) | public static void | exportToLDAP(User user) | public static Attributes | getAttributes(LdapContext ctx, String fullDistinguishedName) | public static String | getAuthSearchFilter(long companyId, String emailAddress, String screenName, String userId) | public static LdapContext | getContext(long companyId) | public static LdapContext | getContext(long companyId, String providerURL, String pricipal, String credentials) | public static Properties | getGroupMappings(long companyId) | public static NamingEnumeration | getGroups(long companyId, LdapContext ctx, int maxResults) | public static NamingEnumeration | getGroups(long companyId, LdapContext ctx, int maxResults, String baseDN, String groupFilter) | public static String | getNameInNamespace(long companyId, Binding binding) | public static Binding | getUser(long companyId, String screenName) | public static Properties | getUserMappings(long companyId) | public static NamingEnumeration | getUsers(long companyId, LdapContext ctx, int maxResults) | public static NamingEnumeration | getUsers(long companyId, LdapContext ctx, int maxResults, String baseDN, String userFilter) | public static String | getUsersDN(long companyId) | public static boolean | hasUser(long companyId, String screenName) | public static void | importFromLDAP() | public static void | importFromLDAP(long companyId) | public static UserGroup | importLDAPGroup(long companyId, LdapContext ctx, Attributes attrs, boolean importGroupMembership) | public static User | importLDAPUser(long companyId, LdapContext ctx, Attributes attrs, String password, boolean importGroupMembership) | public static boolean | isAuthEnabled(long companyId) | public static boolean | isExportEnabled(long companyId) | public static boolean | isImportEnabled(long companyId) | public static boolean | isImportOnStartup(long companyId) | public static boolean | isNtlmEnabled(long companyId) | public static boolean | isPasswordPolicyEnabled(long companyId) |
IMPORT_BY_GROUP | final public static String IMPORT_BY_GROUP(Code) | | |
IMPORT_BY_USER | final public static String IMPORT_BY_USER(Code) | | |
importFromLDAP | public static void importFromLDAP(long companyId) throws Exception(Code) | | |
|
|