qry.setAt("username",row,s.isReadOnly()?"":s.getUsername());
qry.setAt("port",row,Caster.toInteger(s.getPort()));
qry.setAt("readonly",row,Caster.toBoolean(s.isReadOnly()));
qry.setAt("authentication",row,Caster.toBoolean(s.hasAuthentication()));
if(s instanceof ServerImpl) {
ServerImpl si = (ServerImpl)s;
qry.setAt("ssl",row,Caster.toBoolean(si.isSSL()));
qry.setAt("tls",row,Caster.toBoolean(si.isTLS()));
}
}
pageContext.setVariable(getString("admin",action,"returnVariable"),qry);
}