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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user