From c3e64a11517ddbee46ddfd0652603a4a133fce40 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Tue, 21 Oct 2008 19:09:59 +0000 Subject: [PATCH] Fixed typos. --- .../support/AbstractTlsDirContextAuthenticationStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/ldap/core/support/AbstractTlsDirContextAuthenticationStrategy.java b/core/src/main/java/org/springframework/ldap/core/support/AbstractTlsDirContextAuthenticationStrategy.java index 1e6d8e35..106e649b 100755 --- a/core/src/main/java/org/springframework/ldap/core/support/AbstractTlsDirContextAuthenticationStrategy.java +++ b/core/src/main/java/org/springframework/ldap/core/support/AbstractTlsDirContextAuthenticationStrategy.java @@ -75,7 +75,7 @@ public abstract class AbstractTlsDirContextAuthenticationStrategy implements Dir /** * Set the optional - * HostnameVerifier to use for verfying incoming certificates. Defaults to null + * HostnameVerifier to use for verifying incoming certificates. Defaults to null * , meaning that the default hostname verification will take place. * * @param hostnameVerifier The HostnameVerifier to use, if any. @@ -116,7 +116,7 @@ public abstract class AbstractTlsDirContextAuthenticationStrategy implements Dir } catch (IOException e) { LdapUtils.closeContext(ctx); - throw new UncategorizedLdapException("Failed to negitiate tls session", e); + throw new UncategorizedLdapException("Failed to negotiate TLS session", e); } } else {