diff --git a/src/main/kotlin/config/BremerConfig.kt b/src/main/kotlin/config/BremerConfig.kt index 5aab926..c420f26 100644 --- a/src/main/kotlin/config/BremerConfig.kt +++ b/src/main/kotlin/config/BremerConfig.kt @@ -4,7 +4,7 @@ package net.piedpiper.bremer.config -import net.piedpiper.bremer.service.app.LoginAppService +import net.piedpiper.bremer.service.LoginService import org.apache.logging.log4j.LogManager import org.apache.logging.log4j.Logger import org.springframework.beans.factory.annotation.Qualifier @@ -30,8 +30,8 @@ @Configuration @EnableWebSecurity class WebSecurityConfig( - @Qualifier("bremer.service.LoginAppService") - private val loginAppService: LoginAppService + @Qualifier("bremer.service.LoginService") + private val loginService: LoginService ) { @Bean fun securityFilterChain(http: HttpSecurity): SecurityFilterChain { @@ -57,7 +57,7 @@ .logoutSuccessUrl("/bremer/login.html?logout") } .csrf { it.disable() } - .userDetailsService(loginAppService) + .userDetailsService(loginService) return http.build() } }