Forums de discussion
trick to connect in iframe directly
Soukaina HAJI, modifié il y a 9 années.
trick to connect in iframe directly
Regular Member Publications: 195 Date d'inscription: 17/06/14 Publications récentes
Hello
I heard of trick to do in liferay to make direct connexion in iframe:
the trick is to create an empty portlet where you connect with the server in iframe ( my case is zimbra) this is the code :
but the trick is not working for me , is the port to zimbra ?
this is a list of Ports Used by Zimbra
thank you
liferay 6.2 ce ga2
I heard of trick to do in liferay to make direct connexion in iframe:
the trick is to create an empty portlet where you connect with the server in iframe ( my case is zimbra) this is the code :
String zimbraUrlMailbox = "https://ubuntu.formation.com:443";
ZMailbox zmailBox = null;
String login = "unknown";
String password = "";
try {
login = themeDisplay.getUser().getLogin();
password = themeDisplay.getUser().getPassword();
Options opt = new Options(login,
AccountBy.name,
password,
zimbraUrlMailbox);
zmailBox = new ZMailbox(opt);
} catch (Exception e) {
System.err.println("[ERROR] Enable to connect user : " + login
+ " to zimbra : " + zimbraUrlMailbox);
}
but the trick is not working for me , is the port to zimbra ?
this is a list of Ports Used by Zimbra
thank you
liferay 6.2 ce ga2