close

Filter

loading table of contents...

Release Notes / Version 11.2310

Table Of Contents

Public API Changes in LdapUserProvider

The internal caching of the LdapUserProvider had a major design issue and has therefore been reimplemented. It is now based on Caffeine Cache. The reimplementation implied some changes of the public API:

The following methods do not declare (and throw) checked exceptions any longer, but throw wrapping RuntimeExceptions instead. If you have overridden these methods in a custom UserProvider, please change the signatures accordingly.

  • LdapUserProvider#makeUser(LdapUserProvider.ExtendedSearchResult)

  • LdapUserProvider#makeGroup(LdapUserProvider.ExtendedSearchResult)

  • LdapUserProvider#getUserFromLdap

  • LdapUserProvider#getGroupFromLdap

The following methods have no invalidate argument any longer, because the LdapUserProvider does no longer cache at this level. If you use these methods in a custom UserProvider, delete the argument from the invocation. If you have overridden these methods, assume that invalidate is always true, and adjust the signature and implementation accordingly.

  • LdapUserProvider#getAttributes(String, String[])

  • LdapUserProvider#getMemberFromLdap

  • LdapUserProvider#getMembersFromLdap(String, String[])

  • LdapUserProvider#retrieveUserFromLdap

  • LdapUserProvider#retrieveGroupFromLdap

(CMS-17737)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.