SPARK-1332

title.advanced.connection.sso.noprincipal = Spark is unable to find the principal to use for Single Sign-On. This will prevent SSO from working.
title.login.no.account = Unable to determine


removed unnecessary system.out's


git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12422 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Wolf Posdorfer
2011-05-25 06:33:49 +00:00
committed by wolf.posdorfer
parent 142c90c277
commit 2821007800
8 changed files with 18 additions and 16 deletions

View File

@ -807,7 +807,7 @@ public final class LoginDialog {
}
catch (LoginException le) {
Log.debug(le.getMessage());
accountNameLabel.setText("Unable to determine.");
accountNameLabel.setText(Res.getString("title.login.no.account"));
//useSSO(false);
}
@ -979,10 +979,7 @@ public final class LoginDialog {
connection.connect();
}
String resource = localPref.getResource();
if (!ModelUtil.hasLength(resource)) {
resource = "spark";
}
String resource = localPref.getResource();
connection.login(getUsername(), getPassword(),
org.jivesoftware.spark.util.StringUtils.modifyWildcards(resource));