Package org.sonar.api.config

Examples of org.sonar.api.config.Encryption


  private final Map<String, String> properties;
  private final Encryption encryption;

  public UserProperties(Map<String, String> properties, @Nullable String pathToSecretKey) {
    encryption = new Encryption(pathToSecretKey);
    Map<String, String> decryptedProps = Maps.newHashMap();
    for (Map.Entry<String, String> entry : properties.entrySet()) {
      String value = entry.getValue();
      if (value != null && encryption.isEncrypted(value)) {
        try {
View Full Code Here

TOP

Related Classes of org.sonar.api.config.Encryption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.