Import IgnoreSecurityConfiguration instead of AuthorizationConfiguration and update authorization-library.
This commit is contained in:
parent
cd59cc9ccc
commit
0a575fbcd2
2
pom.xml
2
pom.xml
|
@ -34,7 +34,7 @@
|
|||
<dependency>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-authorization-library</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<version>2.1.4</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
|
|
|
@ -3,7 +3,7 @@ package eu.dnetlib.uoaadmintoolslibrary;
|
|||
import eu.dnetlib.uoaadmintoolslibrary.configuration.GlobalVars;
|
||||
import eu.dnetlib.uoaadmintoolslibrary.configuration.properties.GoogleConfig;
|
||||
import eu.dnetlib.uoaadmintoolslibrary.configuration.properties.MailConfig;
|
||||
import eu.dnetlib.uoaauthorizationlibrary.configuration.AuthorizationConfiguration;
|
||||
import eu.dnetlib.uoaauthorizationlibrary.configuration.IgnoreSecurityConfiguration;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
@ -12,5 +12,5 @@ import org.springframework.context.annotation.Import;
|
|||
@Configuration
|
||||
@EnableConfigurationProperties({MailConfig.class, GoogleConfig.class, GlobalVars.class})
|
||||
@ComponentScan(basePackages = { "eu.dnetlib.uoaadmintoolslibrary" })
|
||||
@Import(AuthorizationConfiguration.class)
|
||||
public class UoaAdminToolsLibraryConfiguration {}
|
||||
@Import({IgnoreSecurityConfiguration.class})
|
||||
public class UoaAdminToolsLibraryConfiguration {}
|
||||
|
|
Loading…
Reference in New Issue