|
|
|
@ -485,7 +485,7 @@ private void initContent()
|
|
|
|
protocol,
|
|
|
|
protocol,
|
|
|
|
accID.getUserID()));
|
|
|
|
accID.getUserID()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for(Map.Entry<String, String> entry :
|
|
|
|
for(Map.Entry<String, String> entry :
|
|
|
|
SecurityConfigActivator.getChatRoomsWithSavedPasswords()
|
|
|
|
SecurityConfigActivator.getChatRoomsWithSavedPasswords()
|
|
|
|
.entrySet())
|
|
|
|
.entrySet())
|
|
|
|
@ -498,7 +498,7 @@ private void initContent()
|
|
|
|
resources.getI18NString("service.gui.CHAT_ROOM"),
|
|
|
|
resources.getI18NString("service.gui.CHAT_ROOM"),
|
|
|
|
description));
|
|
|
|
description));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// load provisioning passwords
|
|
|
|
// load provisioning passwords
|
|
|
|
String PROVISIONING_PROPERTIES_PREFIX =
|
|
|
|
String PROVISIONING_PROPERTIES_PREFIX =
|
|
|
|
"net.java.sip.communicator.plugin.provisioning.auth";
|
|
|
|
"net.java.sip.communicator.plugin.provisioning.auth";
|
|
|
|
@ -523,17 +523,18 @@ private void initContent()
|
|
|
|
configurationService.getPropertyNamesByPrefix(
|
|
|
|
configurationService.getPropertyNamesByPrefix(
|
|
|
|
HTTP_PROPERTIES_PREFIX, false);
|
|
|
|
HTTP_PROPERTIES_PREFIX, false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int prefLen = HTTP_PROPERTIES_PREFIX.length() + 1;
|
|
|
|
for(String prop: httpPasses)
|
|
|
|
for(String prop: httpPasses)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// we skip the entry containing the encoded password
|
|
|
|
// we skip the entry containing the encoded password
|
|
|
|
if(prop.contains("PASSWORD"))
|
|
|
|
if(prop.contains("PASSWORD")
|
|
|
|
|
|
|
|
|| prefLen > prop.length())
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
|
model.savedPasswords.add(
|
|
|
|
model.savedPasswords.add(
|
|
|
|
new PasswordsTableRow(
|
|
|
|
new PasswordsTableRow(
|
|
|
|
prop,
|
|
|
|
prop,
|
|
|
|
"http://" + prop.substring(
|
|
|
|
"http://" + prop.substring(prefLen),
|
|
|
|
HTTP_PROPERTIES_PREFIX.length() + 1),
|
|
|
|
|
|
|
|
configurationService.getString(prop)));
|
|
|
|
configurationService.getString(prop)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|