Notice
Recent Posts
Recent Comments
목록form (1)
송민준의 개발노트
[Spring Security] Form Login 인증 API
Security Config에서 Form Login 인증 방식은 아래와 같이 처리해주면 된다. 본 방식은 Java Config이다. @Override protected void configure(HttpSecurity http) throws Exception { http .formLogin() // 로그인 폼 세팅 .loginPage("/members/loginform") // 사용자 정의 로그인 페이지 .usernameParameter("email") // name 속성이 userId, password 일치하여야 함 .passwordParameter("pwd") .loginProcessingUrl("/authenticate") // 로그인 프로세스를 처리하는 경로(submit url) .failureF..
웹/Spring Security
2021. 1. 7. 00:21