Skip to content
Commit 7c742583 authored by Krzysztof Nowicki's avatar Krzysztof Nowicki
Browse files

EWS: Refactor server connection and password retrieval

In the old behaviour the resource would attempt to connect to the server
at resource construction time, which is not the way it should work. This
was a corner cut done in early development, when I was still a novice
and I wanted it to just work. As we know cutting corners tends to
backfire eventually...

The updated implementation connects to the server when the resource is
brought online.

The password request code also received refactoring. Instead of
synchronously waiting for KWallet it now performs the opening
asynchronously together with a timeout for safety.

A new unit test ensures that the code behaves as designed.
parent 39d5dba1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment