Skip to content

Commit a40c1ac

Browse files
committed
Fix Misleading Log
Closes gh-833
1 parent 340cfd6 commit a40c1ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: core/src/main/java/org/springframework/ldap/core/support/AbstractContextSource.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2005-2021 the original author or authors.
2+
* Copyright 2005-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -416,7 +416,7 @@ public void afterPropertiesSet() {
416416
if (this.authenticationSource == null) {
417417
LOG.debug("AuthenticationSource not set - " + "using default implementation");
418418
if (!StringUtils.hasText(this.userDn)) {
419-
LOG.info("Property 'userDn' not set - " + "anonymous context will be used for read-write operations");
419+
LOG.info("Property 'userDn' not set - " + "anonymous context will be used for read-only operations");
420420
this.anonymousReadOnly = true;
421421
}
422422
if (!this.anonymousReadOnly) {

0 commit comments

Comments
 (0)