Skip to content

Commit

Permalink
Fix Misleading Log
Browse files Browse the repository at this point in the history
Closes gh-833
  • Loading branch information
jzheaux committed Feb 8, 2024
1 parent 340cfd6 commit a40c1ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a40c1ac

Please sign in to comment.