Package com.liferay.portal.security.ldap
Interface SafePortalLDAP
@ProviderType
public interface SafePortalLDAP
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupAttributes
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, SafeLdapName userGroupDNSafeLdapName) getGroupAttributes
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, SafeLdapName userGroupDNName, boolean includeReferenceAttributes) byte[]
getGroups
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, String[] attributeIds, List<SearchResult> searchResults) byte[]
getGroups
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, List<SearchResult> searchResults) byte[]
getGroups
(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter groupFilter, String[] attributeIds, List<SearchResult> searchResults) byte[]
getGroups
(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter groupFilter, List<SearchResult> searchResults) getGroupsDNSafeLdapName
(long ldapServerId, long companyId) long
getLdapServerId
(long companyId, String screenName, String emailAddress) getMultivaluedAttribute
(long companyId, SafeLdapContext safeLdapContext, SafeLdapName baseDNSafeLdapName, SafeLdapFilter safeLdapFilter, Attribute attribute) getSafeLdapContext
(long ldapServerId, long companyId) getSafeLdapContext
(long companyId, String providerURL, String principal, String credentials) getUser
(long ldapServerId, long companyId, String screenName, String emailAddress, boolean checkOriginalEmailAddress, boolean useUserSearchSafeLdapFilter) getUserAttributes
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, SafeLdapName userSafeLdapName) byte[]
getUsers
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, String[] attributeIds, List<SearchResult> searchResults) byte[]
getUsers
(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, List<SearchResult> searchResults) byte[]
getUsers
(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter userFilter, String[] attributeIds, List<SearchResult> searchResults) byte[]
getUsers
(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter userFilter, List<SearchResult> searchResults) getUsersDNSafeLdapName
(long ldapServerId, long companyId) boolean
boolean
isGroupMember
(long ldapServerId, long companyId, SafeLdapName groupSafeLdapName, SafeLdapName userSafeLdapName) boolean
isUserGroupMember
(long ldapServerId, long companyId, SafeLdapName groupSafeLdapName, SafeLdapName userSafeLdapName) byte[]
searchLDAP
(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter filter, String[] attributeIds, List<SearchResult> searchResults)
-
Method Details
-
getGroup
- Throws:
Exception
-
getGroupAttributes
Attributes getGroupAttributes(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, SafeLdapName userGroupDNSafeLdapName) throws Exception - Throws:
Exception
-
getGroupAttributes
Attributes getGroupAttributes(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, SafeLdapName userGroupDNName, boolean includeReferenceAttributes) throws Exception - Throws:
Exception
-
getGroups
byte[] getGroups(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getGroups
byte[] getGroups(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, String[] attributeIds, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getGroups
byte[] getGroups(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter groupFilter, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getGroups
byte[] getGroups(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter groupFilter, String[] attributeIds, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getGroupsDNSafeLdapName
- Throws:
Exception
-
getLdapServerId
- Throws:
Exception
-
getMultivaluedAttribute
Attribute getMultivaluedAttribute(long companyId, SafeLdapContext safeLdapContext, SafeLdapName baseDNSafeLdapName, SafeLdapFilter safeLdapFilter, Attribute attribute) throws Exception - Throws:
Exception
-
getSafeLdapContext
-
getSafeLdapContext
SafeLdapContext getSafeLdapContext(long companyId, String providerURL, String principal, String credentials) -
getUser
Binding getUser(long ldapServerId, long companyId, String screenName, String emailAddress) throws Exception - Throws:
Exception
-
getUser
Binding getUser(long ldapServerId, long companyId, String screenName, String emailAddress, boolean checkOriginalEmailAddress, boolean useUserSearchSafeLdapFilter) throws Exception - Throws:
Exception
-
getUserAttributes
Attributes getUserAttributes(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, SafeLdapName userSafeLdapName) throws Exception - Throws:
Exception
-
getUsers
byte[] getUsers(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getUsers
byte[] getUsers(long ldapServerId, long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, String[] attributeIds, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getUsers
byte[] getUsers(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter userFilter, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getUsers
byte[] getUsers(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter userFilter, String[] attributeIds, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-
getUsersDNSafeLdapName
- Throws:
Exception
-
hasUser
boolean hasUser(long ldapServerId, long companyId, String screenName, String emailAddress) throws Exception - Throws:
Exception
-
isGroupMember
boolean isGroupMember(long ldapServerId, long companyId, SafeLdapName groupSafeLdapName, SafeLdapName userSafeLdapName) throws Exception - Throws:
Exception
-
isUserGroupMember
boolean isUserGroupMember(long ldapServerId, long companyId, SafeLdapName groupSafeLdapName, SafeLdapName userSafeLdapName) throws Exception - Throws:
Exception
-
searchLDAP
byte[] searchLDAP(long companyId, SafeLdapContext safeLdapContext, byte[] cookie, int maxResults, SafeLdapName baseDNSafeLdapName, SafeLdapFilter filter, String[] attributeIds, List<SearchResult> searchResults) throws Exception - Throws:
Exception
-