About JSJAC anonymous login

hello everybody:

I used OPENFIRE server, it can support has been anonymous login.

Does JSJAC in how to write anonymous login. .

I now is that:

oArgs = new Object();

oArgs.domain = option.domain;

// oArgs.username = option.username;

// oArgs.pass =option.username;

oArgs.resource = 'Message_web ';

oArgs.register = false;

oArgs.authtype = "anonymous " ;

con.connect(oArgs);

Such connecting servers will not do, had no access to OPENFIRE. . Is this why. .