Support Serialization for LDAP Components
Issue gh-16276
This commit is contained in:
+5
@@ -16,6 +16,8 @@
|
||||
|
||||
package org.springframework.security.ldap.ppolicy;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
import javax.naming.ldap.Control;
|
||||
|
||||
/**
|
||||
@@ -37,6 +39,9 @@ public class PasswordPolicyControl implements Control {
|
||||
*/
|
||||
public static final String OID = "1.3.6.1.4.1.42.2.27.8.5.1";
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 2843242715616817932L;
|
||||
|
||||
private final boolean critical;
|
||||
|
||||
/**
|
||||
|
||||
+4
@@ -19,6 +19,7 @@ package org.springframework.security.ldap.ppolicy;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.Serial;
|
||||
|
||||
import netscape.ldap.ber.stream.BERChoice;
|
||||
import netscape.ldap.ber.stream.BERElement;
|
||||
@@ -53,6 +54,9 @@ public class PasswordPolicyResponseControl extends PasswordPolicyControl {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(PasswordPolicyResponseControl.class);
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = -4592657167939234499L;
|
||||
|
||||
private final byte[] encodedValue;
|
||||
|
||||
private PasswordPolicyErrorStatus errorStatus;
|
||||
|
||||
Reference in New Issue
Block a user