1
0
mirror of synced 2026-08-06 02:08:01 +00:00

Tidied formatting of toString output for FilterBasedLdapUserSearch

This commit is contained in:
Luke Taylor
2008-03-22 21:40:54 +00:00
parent 162933155e
commit 30a6abbe50
@@ -106,7 +106,7 @@ public class FilterBasedLdapUserSearch implements LdapUserSearch {
*/
public DirContextOperations searchForUser(String username) {
if (logger.isDebugEnabled()) {
logger.debug("Searching for user '" + username + "', with user search " + this.toString());
logger.debug("Searching for user '" + username + "', with user search " + this);
}
SpringSecurityLdapTemplate template = new SpringSecurityLdapTemplate(contextSource);
@@ -162,7 +162,7 @@ public class FilterBasedLdapUserSearch implements LdapUserSearch {
sb.append("searchBase: '").append(searchBase).append("'");
sb.append(", scope: ")
.append(searchControls.getSearchScope() == SearchControls.SUBTREE_SCOPE ? "subtree" : "single-level, ");
sb.append("searchTimeLimit: ").append(searchControls.getTimeLimit());
sb.append(", searchTimeLimit: ").append(searchControls.getTimeLimit());
sb.append(", derefLinkFlag: ").append(searchControls.getDerefLinkFlag()).append(" ]");
return sb.toString();