Skip to content

Log message in AbstractContextSource is misleading #833

Closed
@marcusdacoregio

Description

@marcusdacoregio

The following log message produced by the following line is misleading based on the documentation:

LOG.info("Property 'userDn' not set - " + "anonymous context will be used for read-write operations");

it says: "Property 'userDn' not set - anonymous context will be used for read-write operations". Right after that, the anonymousReadOnly property is set to true.

However, in the documentation, the anonymousReadOnly property is described as (emphasis by me):

Defines whether read-only operations are performed by using an anonymous (unauthenticated) context. Note that setting this parameter to true together with the compensating transaction support is not supported and is rejected.

This is causing confusion about whether the log message is erroneous or the anonymous context is being used for read-write operations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions