diff --git a/alfa-server/src/main/resources/application-nf.yaml b/alfa-server/src/main/resources/application-nf.yaml index de4d4ee3434c7ed9736f1b11f62ec1d72c969473..821736e4635590a7844b15993bf38772f1b1ff3e 100644 --- a/alfa-server/src/main/resources/application-nf.yaml +++ b/alfa-server/src/main/resources/application-nf.yaml @@ -1,4 +1,8 @@ ozgcloud: vorgang: processorNames: - - ticketCheck \ No newline at end of file + - ticketCheck + processor: + - formId: mob_dtickerst/mob_dtickerst + formEngineName: AFM + \ No newline at end of file diff --git a/alfa-service/src/main/java/de/ozgcloud/alfa/SecurityConfiguration.java b/alfa-service/src/main/java/de/ozgcloud/alfa/SecurityConfiguration.java index 42f7e4158e24894ebc33b10354c346c5efb3c8eb..4858dfa517e1358558a23166d28dae18fbd48fe8 100644 --- a/alfa-service/src/main/java/de/ozgcloud/alfa/SecurityConfiguration.java +++ b/alfa-service/src/main/java/de/ozgcloud/alfa/SecurityConfiguration.java @@ -29,8 +29,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; -import org.springframework.security.authentication.AuthenticationManager; -import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; @@ -38,8 +36,6 @@ import org.springframework.security.config.annotation.web.configurers.oauth2.ser import org.springframework.security.config.http.SessionCreationPolicy; import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; -import org.springframework.security.web.authentication.session.NullAuthenticatedSessionStrategy; -import org.springframework.security.web.authentication.session.SessionAuthenticationStrategy; import org.springframework.security.web.csrf.CookieCsrfTokenRepository; import org.springframework.security.web.header.writers.frameoptions.XFrameOptionsHeaderWriter; import org.springframework.security.web.header.writers.frameoptions.XFrameOptionsHeaderWriter.XFrameOptionsMode; @@ -90,13 +86,4 @@ public class SecurityConfiguration { Optional.ofNullable(springJwtProperties.getJwkSetUri()).ifPresent(jwkSetUri -> configurer.jwt().jwkSetUri(jwkSetUri)); } - @Bean - protected SessionAuthenticationStrategy sessionAuthenticationStrategy() { - return new NullAuthenticatedSessionStrategy(); - } - - @Bean - AuthenticationManager authenticationManager(HttpSecurity http) throws Exception { - return http.getSharedObject(AuthenticationManagerBuilder.class).build(); - } }