blog/drawings/spring-security-authflow.puml

25 lines
659 B
Plaintext

@startuml spring-security-authflow
skinparam Shadowing false
skinparam {
ActivityBackgroundColor white
ActivityDiamondBackgroundColor white
}
start
:用户输入用户名及密码;
:系统根据用户名查询用户;
if (用户存在) then (是)
:获取用户的详细信息;
:将用户提供的密码与用户详细信息中的密码进行比对;
if (密码比对成功) then (是)
:生成用户Session信息;
:将用户Session信息进行保存;
:通知用户登录成功;
else (否)
:提示所提供的密码不正确;
endif
else (否)
:提示所提供的用户不存在;
endif
stop
@enduml