This commit is contained in:
Michele Artini 2021-04-26 12:58:32 +02:00
parent d68424d584
commit ff49b22198
4 changed files with 3 additions and 2 deletions

View File

@ -40,6 +40,7 @@ public class MockSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(final HttpSecurity http) throws Exception {
http.headers().frameOptions().sameOrigin();
http.csrf()
.disable()

View File

@ -53,6 +53,8 @@ public class OAuth2WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(final HttpSecurity http) throws Exception {
http.headers().frameOptions().sameOrigin();
http.csrf()
.disable()
.authorizeRequests()

View File

@ -366,9 +366,7 @@ public class DatabaseUtils {
@Transactional
public void importDedupEvents() throws Exception {
log.info("Importing conflicts and duplicates...");
jdbcTemplate.update(IOUtils.toString(getClass().getResourceAsStream("/sql/importDedupEvents.sql")));
log.info("...done");
// verifyConflictGroups(true);
}