Skip to content

Commit

Permalink
Added Serialization Values
Browse files Browse the repository at this point in the history
  • Loading branch information
jzheaux committed Dec 13, 2024
1 parent aed95a4 commit da1316a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.Serial;
import java.util.Arrays;
import java.util.Collection;
import java.util.LinkedList;
Expand Down Expand Up @@ -491,6 +492,9 @@ private void changePasswordUsingExtensionOperation(LdapName userDn, String oldPa
*/
private static class PasswordModifyRequest implements ExtendedRequest {

@Serial
private static final long serialVersionUID = 3154223576081503237L;

private static final byte SEQUENCE_TYPE = 48;

private static final String PASSWORD_MODIFY_OID = "1.3.6.1.4.1.4203.1.11.1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.springframework.security.oauth2.server.resource.introspection;

import java.io.Serial;
import java.net.URI;
import java.time.Instant;
import java.util.ArrayList;
Expand Down Expand Up @@ -271,6 +272,9 @@ private Collection<GrantedAuthority> authorities(List<String> scopes) {
// gh-7563
private static final class ArrayListFromString extends ArrayList<String> {

@Serial
private static final long serialVersionUID = -1804103555781637109L;

ArrayListFromString(String... elements) {
super(Arrays.asList(elements));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.springframework.security.oauth2.server.resource.introspection;

import java.io.Serial;
import java.net.URI;
import java.time.Instant;
import java.util.ArrayList;
Expand Down Expand Up @@ -225,6 +226,9 @@ private Collection<GrantedAuthority> authorities(List<String> scopes) {
// gh-7563
private static final class ArrayListFromString extends ArrayList<String> {

@Serial
private static final long serialVersionUID = 9182779930765511117L;

ArrayListFromString(String... elements) {
super(Arrays.asList(elements));
}
Expand Down

0 comments on commit da1316a

Please sign in to comment.