no commit message

This commit is contained in:
贝密游戏
2017-08-04 18:13:20 +08:00
parent d076c849e4
commit 47c7be9d9a

View File

@@ -77,7 +77,7 @@ public class GameServerConfiguration
config.setAuthorizationListener(new AuthorizationListener() {
public boolean isAuthorized(HandshakeData data) {
String token = data.getSingleUrlParam("token") ;
return !StringUtils.isBlank(token);
return !StringUtils.isBlank(token); //其他安全验证策略IPToken用户名
}
});
return server = new SocketIOServer(config);