
public class GluePropertySourcesPlaceholderConfigurer extends org.springframework.context.support.PropertySourcesPlaceholderConfigurer
Bean Property - keyFile : (선택) keyFile 이 존재할 경우, 암호화된 property 는 복호화함. 예제사용 예# 1
file:${CONFIG_PATH}/glue.properties
| Modifier and Type | Class and Description |
|---|---|
class |
GluePropertySourcesPlaceholderConfigurer.EncryptionAwarePropertySourcesPropertyResolver
Property의 문자열을 resolver합니다.
|
class |
GluePropertySourcesPlaceholderConfigurer.EncryptionAwareService
암호화된 문자열(property)인지 확인해서 복호화하는 서비스입니다.
|
ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, LOCAL_PROPERTIES_PROPERTY_SOURCE_NAMEDEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, trimValues, valueSeparator| Constructor and Description |
|---|
GluePropertySourcesPlaceholderConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactoryToProcess,
org.springframework.core.env.ConfigurablePropertyResolver propertyResolver) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setKeyFile(org.springframework.core.io.Resource keyFile) |
getAppliedPropertySources, postProcessBeanFactory, processProperties, setPropertySourcesdoProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setTrimValues, setValueSeparatorconvertProperties, convertProperty, convertPropertyValue, getOrder, setOrderpublic GluePropertySourcesPlaceholderConfigurer()
public void setKeyFile(org.springframework.core.io.Resource keyFile)
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwaresetEnvironment in class org.springframework.context.support.PropertySourcesPlaceholderConfigurerprotected void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactoryToProcess, org.springframework.core.env.ConfigurablePropertyResolver propertyResolver) throws org.springframework.beans.BeansException
processProperties in class org.springframework.context.support.PropertySourcesPlaceholderConfigurerorg.springframework.beans.BeansExceptionCopyright © 2017–2021 POSCO ICT. All rights reserved.