Import IgnoreSecurityConfiguration instead of AuthorizationConfiguration and update authorization-library.

This commit is contained in:
Konstantinos Triantafyllou 2023-12-14 15:36:35 +02:00
parent cd59cc9ccc
commit 0a575fbcd2
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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)
@Import({IgnoreSecurityConfiguration.class})
public class UoaAdminToolsLibraryConfiguration {}