Browse Source

Add new type property to KeyStore properties. (#486)

pull/500/head
Ryan Baxter 6 years ago committed by GitHub
parent
commit
5e29ff1a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/encrypt/KeyProperties.java

13
spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/encrypt/KeyProperties.java

@ -98,6 +98,11 @@ public class KeyProperties { @@ -98,6 +98,11 @@ public class KeyProperties {
*/
private String secret;
/**
* The KeyStore type. Defaults to jks.
*/
private String type = "jks";
public String getAlias() {
return this.alias;
}
@ -118,6 +123,10 @@ public class KeyProperties { @@ -118,6 +123,10 @@ public class KeyProperties {
return this.password;
}
public String getType() {
return type;
}
public void setPassword(String password) {
this.password = password;
}
@ -130,5 +139,9 @@ public class KeyProperties { @@ -130,5 +139,9 @@ public class KeyProperties {
this.secret = secret;
}
public void setType(String type) {
this.type = type;
}
}
}
Loading…
Cancel
Save