2019-04-01 20:15:12 +00:00
|
|
|
@startuml
|
|
|
|
participant "Filesystem Provider\n(e.g. Webbrowser)" as provider
|
|
|
|
participant "webfuse\ndaemon" as daemon
|
|
|
|
|
2019-04-13 20:18:52 +00:00
|
|
|
group add filesystem fails without authentication
|
|
|
|
provider -> daemon : add_filesystem
|
|
|
|
daemon -->x provider : error: access denied
|
2019-04-01 20:15:12 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
group authenticate
|
|
|
|
provider -> daemon: authenticate(type, credentials)
|
|
|
|
daemon -> daemon: get_authenticator(type)
|
|
|
|
daemon -> daemon: check(credentials)
|
|
|
|
daemon --> provider: result
|
|
|
|
end
|
|
|
|
|
2019-04-13 20:18:52 +00:00
|
|
|
group add filesystem succeeds after authentication
|
|
|
|
provider -> daemon: add_filesystem
|
|
|
|
daemon -> daemon : fuse_mount
|
|
|
|
daemon -> provider: okay
|
2019-04-01 20:15:12 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
@enduml
|