public interface ITLDAPManager
Modifier and Type | Method and Description |
---|---|
void |
deleteAllLdapConfigs() |
void |
deleteConfig(int id) |
void |
flushLDAPGroupCache() |
LdapItemBean |
installConfig(InputStream is) |
Map<String,Map<String,List<Object>>> |
query(int ldapConfigId,
String ldapFilter,
String[] requiredReturnAtts)
Query method exposing LDAP query and filter logic to integration testing
|
IJEMHCachedLDAPDistGroupMembers |
queryDistListAddress(int ldapConfigID,
String groupAddress) |
Set<com.atlassian.jira.user.ApplicationUser> |
queryDistListMembership(int ldapConfigId,
String[] distListAddresses,
String[] requiredReturnAtts,
String[] expandAttributes,
int maxResults) |
LDAPQueryResultList |
queryGroupMembership(int ldapConfigId,
String ldapFilter,
String[] requiredReturnAtts,
String[] expandAttributes,
long maxResults) |
void |
updateConfig(LdapItemBean ldapBean) |
Map<String,String> |
validateLdapConfigurationValid(LdapDetailsDTO dto,
String additionalParams) |
LdapItemBean installConfig(InputStream is) throws RemoteException
is
- stream to the resourceRemoteException
- if it breaksvoid deleteConfig(int id)
void deleteAllLdapConfigs()
Map<String,String> validateLdapConfigurationValid(LdapDetailsDTO dto, String additionalParams)
void updateConfig(LdapItemBean ldapBean)
Map<String,Map<String,List<Object>>> query(int ldapConfigId, String ldapFilter, String[] requiredReturnAtts) throws RemoteException
ldapConfigId
- The ldap config entity IDldapFilter
- The ldap filter to userequiredReturnAtts
- the ldap attributes to returnRemoteException
- if it breaksSet<com.atlassian.jira.user.ApplicationUser> queryDistListMembership(int ldapConfigId, String[] distListAddresses, String[] requiredReturnAtts, String[] expandAttributes, int maxResults) throws RemoteException
ldapConfigId
- the ldap config IDdistListAddresses
- the array of dist list addresses to queryrequiredReturnAtts
- the ldap attributes to returnexpandAttributes
- the attributes to expand on, with AD, this will be 'member'maxResults
- how many results to return at maximumRemoteException
- if it breaksLDAPQueryResultList queryGroupMembership(int ldapConfigId, String ldapFilter, String[] requiredReturnAtts, String[] expandAttributes, long maxResults) throws RemoteException
RemoteException
IJEMHCachedLDAPDistGroupMembers queryDistListAddress(int ldapConfigID, String groupAddress)
void flushLDAPGroupCache()
Copyright © 2008–2022 The Plugin People. All rights reserved.