From a40c1aca881852d23b7a71b11c3fd6b7924cf062 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Thu, 8 Feb 2024 11:21:43 -0700 Subject: [PATCH] Fix Misleading Log Closes gh-833 --- .../ldap/core/support/AbstractContextSource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java b/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java index bcbd88579..434397c76 100644 --- a/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java +++ b/core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2005-2021 the original author or authors. + * Copyright 2005-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -416,7 +416,7 @@ public void afterPropertiesSet() { if (this.authenticationSource == null) { LOG.debug("AuthenticationSource not set - " + "using default implementation"); if (!StringUtils.hasText(this.userDn)) { - LOG.info("Property 'userDn' not set - " + "anonymous context will be used for read-write operations"); + LOG.info("Property 'userDn' not set - " + "anonymous context will be used for read-only operations"); this.anonymousReadOnly = true; } if (!this.anonymousReadOnly) {