From 52bca82caa0333008f3a3e81ee1659874ebfb167 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 6 Jan 2023 17:22:49 +0300 Subject: Bearer token filter is not used --- src/main/java/com/juick/config/SecurityConfig.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java index 47033c11..0b9ec387 100644 --- a/src/main/java/com/juick/config/SecurityConfig.java +++ b/src/main/java/com/juick/config/SecurityConfig.java @@ -131,10 +131,6 @@ public class SecurityConfig { HashParamAuthenticationFilter wwwAuthenticationFilter() { return new HashParamAuthenticationFilter(userService, hashCookieServices()); } - @Bean - BearerTokenAuthenticationFilter bearerTokenAuthenticationFilter() { - return new BearerTokenAuthenticationFilter(userService, keystoreManager.getKeyPair()); - } @Bean RememberMeServices hashCookieServices() { -- cgit v1.2.3