Release Notes / Version 11.2310
Table Of Contents
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#getUserFromLdapLdapUserProvider#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#getMemberFromLdapLdapUserProvider#getMembersFromLdap(String, String[])LdapUserProvider#retrieveUserFromLdapLdapUserProvider#retrieveGroupFromLdap
(CMS-17737)


