|
@@ -71,8 +71,16 @@ public class User implements JsonSerializable {
|
|
*/
|
|
*/
|
|
private String token;
|
|
private String token;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 会话失效时长
|
|
|
|
+ */
|
|
private Integer sessionTimeout;
|
|
private Integer sessionTimeout;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * WebSocket session
|
|
|
|
+ */
|
|
|
|
+ private WebSocketSession webSocketSession;
|
|
|
|
+
|
|
public String getKey() {
|
|
public String getKey() {
|
|
return key;
|
|
return key;
|
|
}
|
|
}
|
|
@@ -121,6 +129,14 @@ public class User implements JsonSerializable {
|
|
this.rootOrgName = rootOrgName;
|
|
this.rootOrgName = rootOrgName;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getRootOrgDomain() {
|
|
|
|
+ return rootOrgDomain;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setRootOrgDomain(String rootOrgDomain) {
|
|
|
|
+ this.rootOrgDomain = rootOrgDomain;
|
|
|
|
+ }
|
|
|
|
+
|
|
public Date getCreationTime() {
|
|
public Date getCreationTime() {
|
|
return creationTime;
|
|
return creationTime;
|
|
}
|
|
}
|
|
@@ -161,12 +177,12 @@ public class User implements JsonSerializable {
|
|
this.sessionTimeout = sessionTimeout;
|
|
this.sessionTimeout = sessionTimeout;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getRootOrgDomain() {
|
|
|
|
- return rootOrgDomain;
|
|
|
|
|
|
+ public WebSocketSession getWebSocketSession() {
|
|
|
|
+ return webSocketSession;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setRootOrgDomain(String rootOrgDomain) {
|
|
|
|
- this.rootOrgDomain = rootOrgDomain;
|
|
|
|
|
|
+ public void setWebSocketSession(WebSocketSession webSocketSession) {
|
|
|
|
+ this.webSocketSession = webSocketSession;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|