diff --git a/pom.xml b/pom.xml index ca9f03874875525c231d597ac83819eb7464a99a..344ca486368530716d6a18185c6218b1ae7aede0 100644 --- a/pom.xml +++ b/pom.xml @@ -56,28 +56,6 @@ <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency> - <dependency> - <groupId>org.eclipse.rdf4j</groupId> - <artifactId>rdf4j-runtime</artifactId> - <version>${rdf4j.version}</version> - <type>pom</type> - <exclusions> - <exclusion> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.eclipse.rdf4j</groupId> - <artifactId>rdf4j-rio-api</artifactId> - <version>${rdf4j.version}</version> - </dependency> - <dependency> - <groupId>org.eclipse.rdf4j</groupId> - <artifactId>rdf4j-sail-nativerdf</artifactId> - <version>${rdf4j.version}</version> - </dependency> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> diff --git a/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java b/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java index 9e2a1f177ff2fb2ce33d55bb4f0b3627d2884888..71787c962ebf892462ce2bb0933e19ebe5b8c630 100644 --- a/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java +++ b/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java @@ -5,7 +5,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.Profile; import org.springframework.core.annotation.Order; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.config.annotation.web.builders.HttpSecurity; @@ -62,7 +61,6 @@ public class SmartHarvesterSecurityConfiguration extends WebSecurityConfigurerAd @Override - @Profile("prod") protected void configure(HttpSecurity http) throws Exception { http.csrf().disable().cors().and().authorizeRequests().antMatchers("/harvester/logout","/harvester/oauth2/**","/oauth2/**", "/harvester/login/**", "/smart-harvester/**", "/harvester/api/catalogs","/resources/**", "/public/error/css/**", "/smart-docs/**").permitAll() .anyRequest().authenticated()