String identityClassName,
Properties prop) throws ConnectException, AdminException {
Identity identity = createIdentity(name, password, identityClassName);
User user = new User(name);
AdminReply reply = user.getWrapper().doRequest(new CreateUserRequest(identity, serverId, prop));
user.proxyId = ((CreateUserReply) reply).getProxId();
// Be careful, MBean registration is now done explicitly
return user;