Logon flowchart

This is my first experience with the visual paradigm and uml in general, and I'm a little confused about how I should show certain behaviors. I want to draw a sequence diagram for a very classic operation of entering a website: first, the user submits a form with a username and password, the controller checks if there is a registered user with this username (1), and then see if the password presented corresponds to the saved user. If the answer is yes, then the ok signal is sent to the registered user (2) (another object that started the operation), otherwise the response of the "wrong password" is sent to the original user (3). The third “wrong password” signal triggers a security procedure that blocks an attempt to log in for 12 hours (4)

Here is what I managed to create

enter image description here

, - , , (1) , , , , (3), , 1.1, 1.3, 1.4? (2) , , , , - , , , , . , (4)? Loop , 3- , , .

TL;DR , , ? (4)?

+4
1

. , alt , . [guards], alt.

, , SD . , . SD- , . () .

+4

Source: https://habr.com/ru/post/1618799/


All Articles