20 lines
599 B
Java
20 lines
599 B
Java
|
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();
|
|||
|
}
|
|||
|
}
|