@Override protected void doConnect( String username, String password ) throws KettleException { super.doConnect( username, password ); StartTlsRequest tlsRequest = new StartTlsRequest(); try { this.startTlsResponse = (StartTlsResponse) getCtx().extendedOperation( tlsRequest ); /* Starting TLS */ this.startTlsResponse.negotiate( CustomSocketFactory.getDefault() ); } catch ( NamingException e ) { throw new KettleException( e ); } catch ( IOException e ) { throw new KettleException( e ); } }
public ExtendedResponse extendedOperation(ExtendedRequest request) throws NamingException { return initCtx.extendedOperation(request); }
public ExtendedResponse extendedOperation(ExtendedRequest request) throws NamingException { return initCtx.extendedOperation(request); }
.extendedOperation( new StartTlsRequest() );