aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-06 17:22:49 +0300
committerGravatar Vitaly Takmazov2023-01-06 17:32:55 +0300
commit52bca82caa0333008f3a3e81ee1659874ebfb167 (patch)
treec167d5ddec418a2c5ace09f5e17be4dd34e10535
parenta5686d4be2a0e82deeaedcd4194a732759832578 (diff)
Bearer token filter is not used
-rw-r--r--src/main/java/com/juick/config/SecurityConfig.java4
1 files changed, 0 insertions, 4 deletions
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() {