Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{scrollbar}

Enable and disable anonymous access

This section briefly describes how to enable and disable anonymous access.

Table of Contents
minLevel2
maxLevel2
typelist

Anonymous access to the server is enabled by default. This includes read and write access!

If you use the server standalone configured with a server.xml file, you can disable anonymous binds by changing the value for property allowAnonymousAccess in the Spring bean definition for bean defaultDirectoryService, as depicted in the following fragment:

Code Block
xml
xml

  <defaultDirectoryService id="directoryService" instanceId="default"
                           ...
                           allowAnonymousAccess="false"
                           ...>

A restart of the server is necessary for this change to take effect. Afterwards, all clients have to provide their name (distinguished name) and password in order to bind to the directory service.

Learn more about authentication option in the corresponding section of this guide here.