All Downloads are FREE. Search and download functionalities are using the official Maven repository.

demo.TestConfig Maven / Gradle / Ivy

The newest version!
package demo;

import com.ulisesbocchio.jasyptspringboot.annotation.EncryptablePropertySource;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Sample Configuration File that imports an Encryptable Property Source
 *
 * @author Ulises Bocchio
 */
@Configuration
@EncryptablePropertySource(name = "encrypted2", value = "classpath:encrypted2.properties")
public class TestConfig {

    @Bean
    public String simpleBean() {
        return "Silly Bean";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy