From c0303fa94daecf001512c13a011973b37f180803 Mon Sep 17 00:00:00 2001 From: wangqi Date: Mon, 9 Dec 2024 09:27:48 +0800 Subject: [PATCH] fix: license-header --- .../config/AuthenticateConfigurer.java | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 scaleph-security/src/main/java/cn/sliew/scaleph/security/config/AuthenticateConfigurer.java diff --git a/scaleph-security/src/main/java/cn/sliew/scaleph/security/config/AuthenticateConfigurer.java b/scaleph-security/src/main/java/cn/sliew/scaleph/security/config/AuthenticateConfigurer.java deleted file mode 100644 index 8737442bf..000000000 --- a/scaleph-security/src/main/java/cn/sliew/scaleph/security/config/AuthenticateConfigurer.java +++ /dev/null @@ -1,30 +0,0 @@ -//package cn.sliew.scaleph.security.config; -// -//import org.springframework.http.HttpMethod; -//import org.springframework.security.config.annotation.web.HttpSecurityBuilder; -//import org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer; -//import org.springframework.security.web.util.matcher.AntPathRequestMatcher; -//import org.springframework.security.web.util.matcher.RequestMatcher; -// -//import javax.servlet.Filter; -// -///** -// * 注册Filter: -// * 通过 {@link org.springframework.security.config.annotation.web.builders.HttpSecurity#addFilterAt(Filter, Class)} 注册 -// * 通过 继承 {@link org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer} -// *

-// * 这里通过继承 {@link org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter} 的方式实现登陆逻辑, -// * 因此通过 AbstractHttpConfigurer 注册。 -// */ -//public class AuthenticateConfigurer> extends -// AbstractAuthenticationFilterConfigurer, CustomUsernamePasswordAuthenticateFilter> { -// -// public AuthenticateConfigurer() { -// super(new CustomUsernamePasswordAuthenticateFilter(), null); -// } -// -// @Override -// protected RequestMatcher createLoginProcessingUrlMatcher(String loginProcessingUrl) { -// return new AntPathRequestMatcher(loginProcessingUrl, HttpMethod.POST.name()); -// } -//}