mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Add a basic form of unsecure authentication (in plain password)
This commit is contained in:
@@ -7,6 +7,7 @@ import java.util.UUID;
|
||||
public class SubsonicPreferences {
|
||||
private String serverUrl;
|
||||
private String username;
|
||||
private String password;
|
||||
private String clientName = "Play";
|
||||
private SubsonicAuthentication authentication;
|
||||
|
||||
@@ -18,6 +19,10 @@ public class SubsonicPreferences {
|
||||
return username;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public String getClientName() {
|
||||
return clientName;
|
||||
}
|
||||
@@ -34,6 +39,10 @@ public class SubsonicPreferences {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public void setClientName(String clientName) {
|
||||
this.clientName = clientName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user