inflearn logo
강의

講義

知識共有

スプリングセキュリティ

AuthenticationManagerとAuthentication

제가 맞게 이해한것인지 궁금합니다.

233

rere

投稿した質問数 44

1

authenticationmanager는 사용자가 입력한 authentication객체를 인증할수 있는 autheticationprovider를 찾아주고 해당 provider는 userdetailsservice가 반환한 userdetail를 바탕으로 비번일치유무로 인증을 하고 일치한다면 authenticationmanager는 autheticationprovider가 반환한 authentication(principal 변수에 userdetail를 담음)를 getmaapin 메서드에 principal매개변수로 넘겨주는것이 맞나요?

spring java

回答 1

1

whiteship

안녕하세요.

맞습니다. 굉장히 복잡한 구조인데 확장성을 고려해서 그렇게 설계했다고.. 믿어야겠죠.

커스텀 로그인 페이지를 등록할 경우 LogoutFilter의 등록 여부 질문

0

383

1

anonymousClass를 사용하는 이유

0

387

1

ExcpetionTranslationFilter가 FilterSecurityInterceptor에서 발생하는 예외만 처리하는 이유

0

242

1

Principal 인터페이스와 User 클래스의 관계

0

756

1

passwordEncoder 질문드립니다.

0

320

1

WebSecurityConfigurerAdapter is deprecated 가 불편하신 분들을 위해

6

864

1

왜 스프링은 userid가 아니고 username을 사용했을까요?

0

1022

1

무상태성

0

346

2

로그인 후 로그인 페이지 접속

0

282

1

AuthenticationException은 어떤 경우에 발생하는지

0

556

1

AccountService에 비밀번호

1

224

1

커스텀 어노테이션 의 `커스텀 value` 설정방법에 관한 질문입니다.

0

356

1

passwordEncoder 빈 생성 시 차이

0

252

1

Bean 등록 관련 질문입니다.

0

247

1

시큐리티 전략관련

0

354

3

브라우저 기반 요청이 클라이언트의 요청을 처리 -> 의 의미?

0

228

1

AccountControllerTest 실행오류

0

1066

1

알려주신대로 설정을 해도 다시 302요청을 보냅니다....

0

342

1

voter에 대해 질문이 있습니다.

0

225

1

Spring security test 수행시 @AuthenticationPrincipal 가 null 로 세팅됨

0

546

1

Spring security Multi 인증 문의드려요

0

287

1

ProviderManager 문의

0

267

1

UserDetailsService 가 DaoAuthenticationProvider 에 어떻게 주입 되는지 알 수 있을 까요?

0

326

1

Servlet Filter 질문이 있습니다.

0

287

1