DaoAuthenticationProviderTest
|
100%
successful |
Tests
Test | Method name | Duration | Result |
---|---|---|---|
정상 인증: 비밀번호 일치 & 모든 상태 OK → 인증 토큰 반환 | authenticate_success() | 0.003s | passed |
비밀번호 불일치 → BadCredentialsException | badPassword() | 0.043s | passed |
supports는 UsernamePasswordAuthenticationToken에만 true | supports() | 0.001s | passed |
사용자 없음 → BadCredentialsException(wrapper of UsernameNotFoundException) | userNotFound() | 0.002s | passed |
Standard output
Invalid password for user 'john' User 'nope' not found.