no commit message
This commit is contained in:
1 parent
d076c849e4
commit
47c7be9d9a
1 file changed
+1
-1
@@ -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); //其他安全验证策略,IP,Token,用户名
|
||||
}
|
||||
});
|
||||
return server = new SocketIOServer(config);
|
||||
|
||||
Reference in new issue
Block a user