Examples of FtpSecurityOption


Examples of org.jitterbit.integration.data.location.ftp.FtpSecurityOption

     * {@link #setSecurityOption(FtpSecurityOption) setSecurityOption} and
     * {@link #getFtpsExplicitness() getFtpsExplicitness}. This is for backwards compatibility
     * reasons.
     */
    public FtpMode getFtpMode() {
        FtpSecurityOption so = getSecurityOption();
        switch (so) {
        case NONE:
            return FtpMode.UNSECURE;
        case SFTP:
            return FtpMode.SFTP;
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpSecurityOption

    public static final EnumPreference<FtpSecurityOption> INSTANCE = create();
   
    private static EnumPreference<FtpSecurityOption> create() {
        String[] path = { LocatableGeneralPreferencesPage.PATH, "FTP" };
        String key = "SecurityOption";
        FtpSecurityOption def = FtpSecurityOption.NONE;
        return ApplicationConfiguration.getPreferenceFactory().newEnumPreference(
                path, key, def, FtpSecurityOption.class);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpSecurityOption

    public static DataLocation newLocation(DataLocationType type) {
        DataLocation loc = type.createLocation();
        switch (type) {
        case FTP:
            FtpLocation ftp = (FtpLocation) loc;
            FtpSecurityOption secOption = FtpSecurityOptionPreference.INSTANCE.get();
            ftp.setSecurityOption(secOption);
            FtpTransferType transfType = FtpTransferTypePreference.INSTANCE.get();
            ftp.setTransferType(transfType);
            break;
        default:
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpSecurityOption

    private void handleNewMode(FtpMode mode) {
        String card;
        if (mode == FtpMode.EXPLICIT_FTPS) {
            card = SHOW_EXTRA_OPTIONS;
            if (sslOptionsPanel.getSelectedOption() == null) {
                FtpSecurityOption option = location.getSecurityOption();
                if (option == FtpSecurityOption.NONE || option == FtpSecurityOption.SFTP) {
                    option = FtpSecurityOption.REQUIRE_SSL_FOR_ALL;
                }
                sslOptionsPanel.setSelectedOption(option);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.