Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit f228b53

Browse files
apply params from factory method
1 parent 9578c47 commit f228b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/cryptomator/cloudaccess/CloudAccess.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ private CloudAccess() {
2222
* @return A cloud access provider that provides access to the given WebDAV URL.
2323
*/
2424
public static CloudProvider toWebDAV(URL url, String username, CharSequence password) {
25-
// TODO adapt types
26-
return WebDavCloudProvider.from(WebDavCredential.from(null, username, null));
25+
// TODO can we pass though CharSequence to the auth mechanism?
26+
return WebDavCloudProvider.from(WebDavCredential.from(url, username, password.toString()));
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)