* @see com.adito.vpn.util.ApplicationType#getRedirectParameters()
*/
public String getRedirectParameters() {
StringBuffer buf = new StringBuffer();
for (Enumeration e = launcher.getTunnels().elements(); e.hasMoreElements();) {
TunnelConfiguration l = (TunnelConfiguration) e.nextElement();
if (buf.length() == 0) {
buf.append("tunnels="); //$NON-NLS-1$
} else {
buf.append(","); //$NON-NLS-1$
}
buf.append(l.getName());
buf.append(":"); //$NON-NLS-1$
buf.append("localhost"); //$NON-NLS-1$
buf.append(":"); //$NON-NLS-1$
buf.append(l.getSourcePort());
buf.append("&"); //$NON-NLS-1$
}
buf.append("adito="); //$NON-NLS-1$
buf.append(URLEncoder.encode(launcher.getApplicationStoreProtocol() + "://" //$NON-NLS-1$
+ launcher.getApplicationStoreHost()