|
|
@@ -4,6 +4,7 @@ import java.io.IOException;
|
|
|
import java.util.Map;
|
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
|
|
+import org.apache.shiro.SecurityUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.web.socket.CloseStatus;
|
|
|
import org.springframework.web.socket.TextMessage;
|
|
|
@@ -12,6 +13,7 @@ import org.springframework.web.socket.WebSocketMessage;
|
|
|
import org.springframework.web.socket.WebSocketSession;
|
|
|
|
|
|
import com.goafanti.common.utils.LoggerUtils;
|
|
|
+import com.goafanti.core.shiro.token.TokenManager;
|
|
|
|
|
|
@Service
|
|
|
public class SystemWebSocketHandler implements WebSocketHandler {
|