Enchanced profile management (#68)

* Proof of concept of adding 3PIDs data to user profile
* Document reverse proxy apache config
* Support for Matrix Gateway project roles' endpoint
* Fix conflicting ThreePid object defined in SDK and mxisd projects
This commit is contained in:
Max Dor
2018-03-25 01:20:59 +01:00
committed by GitHub
parent 3fc86465f8
commit a9627121fa
31 changed files with 413 additions and 112 deletions

View File

@@ -31,6 +31,7 @@ public class MemoryIdentityConfig {
private String username;
private String password;
private List<MemoryThreePid> threepids = new ArrayList<>();
private List<String> roles = new ArrayList<>();
public String getUsername() {
return username;
@@ -56,4 +57,12 @@ public class MemoryIdentityConfig {
this.threepids = threepids;
}
public List<String> getRoles() {
return roles;
}
public void setRoles(List<String> roles) {
this.roles = roles;
}
}

View File

@@ -20,14 +20,16 @@
package io.kamax.mxisd.config.memory;
import io.kamax.matrix._ThreePid;
import org.springframework.stereotype.Component;
@Component
public class MemoryThreePid {
public class MemoryThreePid implements _ThreePid {
private String medium;
private String address;
@Override
public String getMedium() {
return medium;
}
@@ -36,6 +38,7 @@ public class MemoryThreePid {
this.medium = medium;
}
@Override
public String getAddress() {
return address;
}