try {
Transport transport;
if (isSecure()) {
if (this.gpelUserX509Credential == null) {
logger.finest("Using ssl without any credential.");
this.gpelUserX509Credential = new GpelUserX509Credential(
null, XBayaSecurity.getTrustedCertificates());
}
transport = new Transport(this.gpelUserX509Credential);
} else {
// This one is phasing out.