From 0af69ea48e3814abd5b788ec8623dddf54a76507 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Fri, 18 Dec 2009 13:37:15 +0000 Subject: [PATCH] Fixed typo (LDAP-193). --- src/docbkx/user-authentication.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docbkx/user-authentication.xml b/src/docbkx/user-authentication.xml index c8ad5759..cddc8375 100644 --- a/src/docbkx/user-authentication.xml +++ b/src/docbkx/user-authentication.xml @@ -233,7 +233,7 @@ ldapTemplate.authenticate("", "(uid=john.doe)", "secret", contextCallback));import org.springframework.ldap.core.support.CollectingAuthenticationErrorCallback; ... CollectingAuthenticationErrorCallback errorCallback = new CollectingAuthenticationErrorCallback(); -boolean result = tested.authenticate("", filter.toString(), "invalidpassword", errorCallback); +boolean result = ldapTemplate.authenticate("", filter.toString(), "invalidpassword", errorCallback); if (!result) { Exception error = errorCallback.getError(); // error is likely of type org.springframework.ldap.AuthenticationException