docu: Zur Verdeutlichung des Vorgehen UML schreiben

This commit is contained in:
2022-03-30 13:22:51 +02:00
parent e372177034
commit cc50434f02
5 changed files with 144 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
@startuml
'https://plantuml.com/sequence-diagram
actor Client
boundary "App-Website" as AppUI
control "App-Rest-API" as AppAPI
Client -> AppUI : Anfrage an Webseite
AppUI -> AppAPI : Anfrage an Webseite
Client --> AppUI : //Web-Token//
AppUI --> AppAPI : //Web-Token//
AppAPI -> AppAPI : //Web-Token// überprüfen
alt //Web-Token// ist gültig
AppAPI -> AppAPI : Client-Rolle überprüfen
alt Rolle ist gültig
AppAPI -> AppAPI : Anfrage auswerten
AppUI <-- AppAPI :
Client <-- AppUI :
else
AppUI <- AppAPI : HTTP-Code 403
Client <- AppUI : HTTP-Code 403
end
else
AppUI <- AppAPI : HTTP-Code 401
Client <- AppUI : HTTP-Code 401
end
@enduml