From 7a70f869c12be592135fe84bd37728ebb68f6aa1 Mon Sep 17 00:00:00 2001 From: yang Date: Thu, 9 Jan 2025 05:53:07 +0900 Subject: [PATCH] =?UTF-8?q?RAC-478=20fix=20:=20security=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/security/SecurityConfig.java | 3 -- src/main/resources/templates/adminLogin.html | 40 ------------------- 2 files changed, 43 deletions(-) delete mode 100644 src/main/resources/templates/adminLogin.html diff --git a/src/main/java/com/postgraduate/global/config/security/SecurityConfig.java b/src/main/java/com/postgraduate/global/config/security/SecurityConfig.java index ceefbae4..282a345e 100644 --- a/src/main/java/com/postgraduate/global/config/security/SecurityConfig.java +++ b/src/main/java/com/postgraduate/global/config/security/SecurityConfig.java @@ -56,9 +56,6 @@ protected SecurityFilterChain config(HttpSecurity http) throws Exception { .authorizeHttpRequests(authorize -> authorize .requestMatchers(PASS).permitAll() .requestMatchers("/admin/**").hasAuthority(Role.ADMIN.name()) - .requestMatchers("/adminServer/loginForm").permitAll() - .requestMatchers("/adminServer/login").permitAll() - .requestMatchers("/adminServer/**").hasAuthority(Role.ADMIN.name()) .requestMatchers("/bizppurio/**").hasAuthority(Role.ADMIN.name()) .requestMatchers(HttpMethod.PATCH, "/senior/**").hasAuthority(Role.SENIOR.name()) .requestMatchers(HttpMethod.POST, "/senior/**").hasAuthority(Role.SENIOR.name()) diff --git a/src/main/resources/templates/adminLogin.html b/src/main/resources/templates/adminLogin.html deleted file mode 100644 index c4afa88b..00000000 --- a/src/main/resources/templates/adminLogin.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - -
- -
-

로그인

-
- -
-
- - -
-
- - -
- -
- -
- -
-
- -
- - \ No newline at end of file