Skip to content

Commit

Permalink
added serialVersionUID to serializable classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jwomeara committed Jul 18, 2024
1 parent 3694b1e commit f483c46
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* represented with a DatawavePrincipal.
*/
public class DatawaveUser implements Serializable {
private static final long serialVersionUID = -6676807246749142999L;

public enum UserType {
USER, SERVER
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* @see DatawaveUser
*/
public class DatawaveUserInfo implements Serializable {
private static final long serialVersionUID = 6644439736099548284L;

private final SubjectIssuerDNPair dn;
private final UserType userType;
private final long creationTime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* A simple pair containing a subject and (optional) issuer DN. The supplied DN values are normalized into a lower-case form with the CN portion first.
*/
public class SubjectIssuerDNPair implements Serializable {
private static final long serialVersionUID = -7558558154126871405L;

private final String subjectDN;
private final String issuerDN;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import datawave.microservice.authorization.user.DatawaveUserDetails;

public class AuthorizationRequest implements Serializable {

private static final long serialVersionUID = -6916962468855241150L;

private DatawaveUserDetails datawaveUserDetails;
private AuthorizedClient authorizedClient;
private String redirect_uri;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import java.io.Serializable;

public class AuthorizedClient implements Serializable {

private static final long serialVersionUID = -270281918896008012L;

private String client_id;
private String client_name;
private String client_secret;
Expand Down

0 comments on commit f483c46

Please sign in to comment.