Skip to content

Commit

Permalink
Fixes spring-projects#39057 : Added toString method in implementation…
Browse files Browse the repository at this point in the history
…s of SslBundle
  • Loading branch information
amparab committed Jan 15, 2024
1 parent 47010f5 commit a721595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ private static JksSslStoreDetails asStoreDetails(JksSslBundleProperties.Store pr

@Override
public String toString() {
return "PropertiesSslBundle{" + "key=" + this.key + ", protocol='" + this.protocol + '\'' + ", ciphers="
+ Arrays.toString(this.options.getCiphers()) + ", enabled-protocols="
return "PropertiesSslBundle{" + "key-alias=" + this.key.getAlias() + ", protocol='" + this.protocol + '\''
+ ", ciphers=" + Arrays.toString(this.options.getCiphers()) + ", enabled-protocols="
+ Arrays.toString(this.options.getEnabledProtocols()) + '}';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ private static boolean hasJavaKeyStoreProperties(Ssl ssl) {

@Override
public String toString() {
return "WebServerSslBundle{" + "key=" + this.key + ", protocol='" + this.protocol + '\'' + ", ciphers="
+ Arrays.toString(this.options.getCiphers()) + ", enabled-protocols="
return "WebServerSslBundle{" + "key-alias=" + this.key.getAlias() + ", protocol='" + this.protocol + '\''
+ ", ciphers=" + Arrays.toString(this.options.getCiphers()) + ", enabled-protocols="
+ Arrays.toString(this.options.getEnabledProtocols()) + '}';
}

Expand Down

0 comments on commit a721595

Please sign in to comment.