MasterPasswordConfig.java 611 B

123456789101112131415161718192021222324252627282930
  1. package com.ydtech.config;
  2. import org.springframework.boot.context.properties.ConfigurationProperties;
  3. import org.springframework.stereotype.Component;
  4. @Component
  5. @ConfigurationProperties(prefix = "master.password")
  6. public class MasterPasswordConfig {
  7. private String ciphertext;
  8. private String salt;
  9. public String getCiphertext() {
  10. return ciphertext;
  11. }
  12. public void setCiphertext(String ciphertext) {
  13. this.ciphertext = ciphertext;
  14. }
  15. public String getSalt() {
  16. return salt;
  17. }
  18. public void setSalt(String salt) {
  19. this.salt = salt;
  20. }
  21. }