bocloud.gateway/src/main/java/com/bocloud/gateway/config/PropertyConfiguration.java

20 lines
599 B
Java
Raw Normal View History

2024-08-20 09:57:28 +00:00
package com.bocloud.gateway.config;
import com.megatron.framework.license.SecurityResolver;
import com.ulisesbocchio.jasyptspringboot.EncryptablePropertyResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author dmw
* @ Description @ Author @ Date Created in 14:38 2019/7/26 @ Modified
* By
*/
@Configuration
public class PropertyConfiguration {
@Bean(name = "encryptablePropertyResolver")
public EncryptablePropertyResolver property() {
return new SecurityResolver();
}
}