You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
700 B
28 lines
700 B
6 years ago
|
@startuml
|
||
|
participant "Filesystem Provider\n(e.g. Webbrowser)" as provider
|
||
|
participant "webfuse\ndaemon" as daemon
|
||
|
actor "user" as user
|
||
|
|
||
|
group directory listing fails without authentication
|
||
|
user -> daemon : ls
|
||
|
daemon -> daemon : is_authenticated
|
||
|
daemon -->x user : error: no entry
|
||
|
end
|
||
|
|
||
|
|
||
|
group authenticate
|
||
|
provider -> daemon: authenticate(type, credentials)
|
||
|
daemon -> daemon: get_authenticator(type)
|
||
|
daemon -> daemon: check(credentials)
|
||
|
daemon --> provider: result
|
||
|
end
|
||
|
|
||
|
group directory listing succeeds after authentication
|
||
|
user -> daemon : ls
|
||
|
daemon -> daemon : is_authenticated
|
||
|
daemon -> provider : readdir
|
||
|
provider --> daemon : readdir_resp
|
||
|
daemon --> user : [., ..]
|
||
|
end
|
||
|
|
||
|
@enduml
|