Package com.stimulus.archiva.domain

Examples of com.stimulus.archiva.domain.Config$UpdateObserver


      }
      return labels;
  }
 
  public List getLanguageLabels() {
      Config config = ConfigurationService.getConfig();
      Map searchAnalyzers = config.getSearchAnalyzers();
      List<String> labels = new ArrayList<String>();
      Iterator i = searchAnalyzers.entrySet().iterator();
      while (i.hasNext()) {
          Map.Entry searchAnalyzer = (Map.Entry)i.next();
          labels.add("searchresults.language_"+searchAnalyzer.getKey());
View Full Code Here


   /**
     * Initialize encryption keys
     */ 
  
   public void initKeys() throws MessageStoreException {
          Config config = Config.getConfig();
           byte[] salt = config.getSalt();
           String passPhrase = config.getPassPhrase();
           if (!config.isDefaultPassPhraseModified())
               logger.warn("archiving is disabled. encryption password is not set.");
           int iterationCount = 17;
           String algorithm = config.getPBEAlgorithm(); // "PBEWithMD5AndDES")
             // Create the key
      try {
             KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(), salt, iterationCount);
             key = SecretKeyFactory.getInstance(algorithm).generateSecret(keySpec);
          
View Full Code Here

TOP

Related Classes of com.stimulus.archiva.domain.Config$UpdateObserver

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.