public void configure()

in src/java/org/apache/fulcrum/crypto/DefaultCryptoService.java [103:118]


	public void configure(Configuration conf) throws ConfigurationException 
	{
		// Initialize the hash and setup default
		// Can be overriden by default key from properties
		this.algos = new HashMap<>();
		this.algos.put(DEFAULT_KEY, DEFAULT_CLASS);
		
		final Configuration algorithms = conf.getChild(ALGORITHM, false);
		if (algorithms != null) {
			Configuration[] nameVal = algorithms.getChildren();
			for ( Configuration entry : nameVal )
			{
				algos.put(entry.getName(), entry.getValue());
			}
		}
	}