Commit b258e79f authored by Greg Thomas's avatar Greg Thomas Committed by akrherz

OF-1480: Ensure that the cached LDAP information is serializable.

parent a551ce90
...@@ -42,6 +42,7 @@ import javax.naming.ldap.SortControl; ...@@ -42,6 +42,7 @@ import javax.naming.ldap.SortControl;
import javax.naming.ldap.StartTlsRequest; import javax.naming.ldap.StartTlsRequest;
import javax.naming.ldap.StartTlsResponse; import javax.naming.ldap.StartTlsResponse;
import javax.net.ssl.SSLSession; import javax.net.ssl.SSLSession;
import java.io.Serializable;
import java.net.URLEncoder; import java.net.URLEncoder;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.text.MessageFormat; import java.text.MessageFormat;
...@@ -2382,7 +2383,7 @@ public class LdapManager { ...@@ -2382,7 +2383,7 @@ public class LdapManager {
// Set the pattern to use to wrap DN values with " // Set the pattern to use to wrap DN values with "
private static Pattern dnPattern; private static Pattern dnPattern;
private static class DNCacheEntry private static class DNCacheEntry implements Serializable
{ {
private final String userDN; private final String userDN;
private final String baseDN; private final String baseDN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment