This commit is contained in:
eraden 2023-04-10 06:12:13 +02:00
parent 7e68cc4e27
commit 23a0c1aa2c
3 changed files with 19 additions and 14 deletions

View File

@ -8,18 +8,6 @@ Web server for WebDAV resources
## Architecture ## Architecture
```staruml ### File streaming
@startuml
actor Client <img src="https://code.ita-prog.pl/Tsumanu/puffball/raw/branch/master/assets/stream.svg">
actor Pathfinder
actor Sentinel
actor Fileye
Client -> Pathfinder
Pathfinder -> Sentinel : Check authorization
Sentinel -> Pathfinder : Return session info
Pathfinder -> Fileye : Stream content
@enduml
```

16
assets/stream.puml Normal file
View File

@ -0,0 +1,16 @@
@startuml
Client -> Pathfinder
Pathfinder -> Sentinel : Check authorization
Sentinel -> LoggedState : Logged
alt User Authorized
Sentinel -> Pathfinder : Authorized
Pathfinder -> Fileye : Open stream
Fileye -> Client : Resource access
else Unauthenticated
Sentinel -> Pathfinder : Unauthenticated
Pathfinder -> Client : Unauthenticated
end
@enduml

1
assets/stream.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.4 KiB