Skip to content

Commit

Permalink
Make SecurityInfo Constructor protected to allow inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jun 26, 2023
1 parent c77cee9 commit 22edbed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class SecurityInfo implements Serializable {
// X.509
private final boolean useX509Cert;

private SecurityInfo(String endpoint, String identity, byte[] preSharedKey, PublicKey rawPublicKey,
protected SecurityInfo(String endpoint, String identity, byte[] preSharedKey, PublicKey rawPublicKey,
boolean useX509Cert) {
Validate.notEmpty(endpoint);
this.endpoint = endpoint;
Expand Down

0 comments on commit 22edbed

Please sign in to comment.