mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
committed by
wolf.posdorfer
parent
142c90c277
commit
2821007800
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user