I'm interested in implementing an authentication feature with
wicketstuff-push (, and it works with slight modifications. I
share what I did.

I basically implements written at

What I change is two methods.

(1) CometdAbstractBehavior#getInitCometdScript()

I added the client side javascript code to send some extension
parameters to the server:
return "dojox.cometd.init('" + cometdServletPath +
                      "', {ext: {auth: { some parametes you want to add }}})\n";

(2) CometdService#initBayeux()

I added

        BayeuxAuthenticator authenticator = new BayeuxAuthenticator();

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to