diff --git a/web/web.security.config/-web-security-config/index.html b/web/web.security.config/-web-security-config/index.html index e765349e1..807c5fed8 100644 --- a/web/web.security.config/-web-security-config/index.html +++ b/web/web.security.config/-web-security-config/index.html @@ -297,7 +297,7 @@

Functions

-
@Bean(name = ["webTokenUserDetailsService"])
fun tokenUserDetailsService(tokenResolver: TokenResolver): UserDetailsService
+
@Profile(value = ["!test"])
@Bean(name = ["webTokenUserDetailsService"])
fun tokenUserDetailsService(tokenResolver: TokenResolver): UserDetailsService
diff --git a/web/web.security.config/-web-security-config/token-user-details-service.html b/web/web.security.config/-web-security-config/token-user-details-service.html index 8837b82dd..040383576 100644 --- a/web/web.security.config/-web-security-config/token-user-details-service.html +++ b/web/web.security.config/-web-security-config/token-user-details-service.html @@ -63,7 +63,7 @@

tokenUserDetailsService

-
@Bean(name = ["webTokenUserDetailsService"])
fun tokenUserDetailsService(tokenResolver: TokenResolver): UserDetailsService
+
@Profile(value = ["!test"])
@Bean(name = ["webTokenUserDetailsService"])
fun tokenUserDetailsService(tokenResolver: TokenResolver): UserDetailsService