1
|
package eu.dnetlib.uoaauthorizationlibrary.configuration;
|
2
|
|
3
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
4
|
import org.springframework.context.annotation.*;
|
5
|
|
6
|
@Configuration
|
7
|
@PropertySources({
|
8
|
@PropertySource("classpath:authorization.properties"),
|
9
|
@PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true)
|
10
|
})
|
11
|
@EnableConfigurationProperties({SecurityConfig.class})
|
12
|
@ComponentScan(basePackages = { "eu.dnetlib.uoaauthorizationlibrary" })
|
13
|
public class AuthorizationConfiguration { }
|