mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 19:22:22 -05:00
Fix from audit
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@777 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
60a24e5a64
commit
636eaeafd7
@ -24,13 +24,14 @@ import java.text.MessageFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Locale;
|
||||
import java.util.ResourceBundle;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Internationalization message.
|
||||
*/
|
||||
public class BundleMessage {
|
||||
public class BundleMessage implements Serializable {
|
||||
/**
|
||||
* Root locale to get english messages for logging.
|
||||
* Root locale to get english messages for logging.
|
||||
*/
|
||||
public static final Locale ROOT_LOCALE = new Locale("", "");
|
||||
protected static final String MESSAGE_BUNDLE_NAME = "davmailmessages";
|
||||
|
@ -575,8 +575,6 @@ public class LdapConnection extends AbstractConnection {
|
||||
// append personal contacts first
|
||||
String filter = ldapFilter.getContactSearchFilter();
|
||||
|
||||
DavGatewayTray.debug(new BundleMessage("LOG_LDAP_REQ_SEARCH", currentMessageId, dn, scope, sizeLimit, timelimit, filter, returningAttributes));
|
||||
|
||||
for (Map<String, String> person : session.contactFind(filter).values()) {
|
||||
persons.put(person.get("uid"), person);
|
||||
|
||||
@ -974,15 +972,15 @@ public class LdapConnection extends AbstractConnection {
|
||||
}
|
||||
|
||||
static interface LdapFilter {
|
||||
public String getContactSearchFilter();
|
||||
String getContactSearchFilter();
|
||||
|
||||
public Map<String, Map<String, String>> findInGAL(ExchangeSession session) throws IOException;
|
||||
Map<String, Map<String, String>> findInGAL(ExchangeSession session) throws IOException;
|
||||
|
||||
public void add(LdapFilter filter);
|
||||
void add(LdapFilter filter);
|
||||
|
||||
public boolean isFullSearch();
|
||||
boolean isFullSearch();
|
||||
|
||||
public boolean isMatch(Map<String, String> person);
|
||||
boolean isMatch(Map<String, String> person);
|
||||
}
|
||||
|
||||
static class CompoundFilter implements LdapFilter {
|
||||
|
Loading…
Reference in New Issue
Block a user