private void authenticate() {
// if (authenticationDialog == null) {
String server = this.session.getServerConnection().getConnectionInfo().getServerName();
String session = this.session.getSessionId();
authenticationDialog = new AuthenticationDialog(this, server,session, this.getSettings(),this);
authenticationDialog.setLocationRelativeTo(this);
authenticationDialog.toFront();
authenticationDialog.setModal(true);
authenticationDialog.setVisible(true);
//}