kt-event-marketing/debug/puml-validation/user-로그인.puml.error.txt
2025-10-22 14:13:57 +09:00

33 lines
3.5 KiB
Plaintext

[From string (line 49) ]
@startuml user-로그인
...
... ( skipping 195 lines )
...
activate AuthService
== 1단계: 사용자 조회 ==
AuthService -> Service: findByPhoneNumber(phoneNumber)
activate Service
Service -> UserRepo: findByPhoneNumber(phoneNumber)
activate UserRepo
UserRepo -> UserDB: SELECT user_id, password_hash,\nrole, name, email\nFROM users\nWHERE phone_number = ?
activate UserDB
UserDB --> UserRepo: 사용자 정보 또는 NULL
deactivate UserDB
UserRepo --> Service: Optional<User>
deactivate UserRepo
Service --> AuthService: Optional<User>
deactivate Service
alt 사용자 없음
AuthService --> Controller: throw AuthenticationFailedException\n("전화번호 또는 비밀번호를 확인해주세요")
Controller --> [: 401 Unauthorized\n{"error": "전화번호 또는 비밀번호를\n확인해주세요"}
^^^^^
Syntax Error? (Assumed diagram type: sequence)