LDAP auth fails with clustering plugin

Description

From the group chat;

2018.02.12 13:35:29 DEBUG [Jetty-QTP-AdminConsole-33]: org.jivesoftware.util.Log -
org.jivesoftware.openfire.auth.UnauthorizedException: com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'org.jivesoftware.openfire.ldap.LdapManager$DNCacheEntry'
at org.jivesoftware.openfire.ldap.LdapAuthProvider.authenticate(LdapAuthProvider.java:126)
at org.jivesoftware.openfire.auth.AuthFactory.authenticate(AuthFactory.java:203)

 

Cursory glance indicates that LdapManager$DNCacheEntry does not implement serializable ...

 

Environment

None

is related to

Activity

Show:

Greg Thomas February 12, 2018 at 2:50 PM

Caching was introduced in 4.2.0 with OF-1306, but unfortunately the cache was not serialisable so does not work in a cluster.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 12, 2018 at 1:22 PM
Updated February 13, 2018 at 3:58 PM
Resolved February 13, 2018 at 3:58 PM