Skip to content
Snippets Groups Projects

Remove obsolete PropertySourcesPlaceholderConfigurer bean

Merged Daniel Gerhardt requested to merge remove-legacy-properties-bean into master
Compare and
1 file
+ 0
13
Compare changes
  • Side-by-side
  • Inline
@@ -289,19 +289,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
logger.info("Enabled authentication providers: {}", providers);
}
@Bean
public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
final PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer();
configurer.setLocations(
new ClassPathResource("arsnova.properties.example"),
new FileSystemResource("file:///etc/arsnova/arsnova.properties")
);
configurer.setIgnoreResourceNotFound(true);
configurer.setIgnoreUnresolvablePlaceholders(false);
return configurer;
}
@Bean
public SessionRegistry sessionRegistry() {
return new SessionRegistryImpl();