System.out.println("Received request to authenticate player" + " " + apc.getPlayer());
sendMessageToClients("Server received request to authenticate " + "player {0}", new Serializable[]{apc.getPlayer().getName()});
    public void processServerCommand(ConnectionToServer c, ServerCommand s) {        if (s instanceof AddPlayerCommand) {            AddPlayerCommand apc = (AddPlayerCommand)s;            synchronized (this) {                System.out.println("Received request to authenticate player" +                    " " + apc.getPlayer());                if (!gameEngine.getIdentityProvider().addConnection(c,                            apc.getPlayer(), apc.getSignature())) {                    c.sendCommand(new AddPlayerResponseCommand(apc, ""));                } else {                    c.sendCommand(new AddPlayerResponseCommand(                            gameEngine.getIdentityProvider().getPrincipal(c)));                }                tableModel.stateChanged(c, connections.indexOf(c));            }        }    }