Package com.sos.VirtualFileSystem.Interfaces

Examples of com.sos.VirtualFileSystem.Interfaces.ISOSAuthenticationOptions


    if (objURL != null) {
      String strHost = objURL.getHost();
      if (strHost != null) {
        int intPort = objURL.getPort();
        objC.Connect(strHost, intPort);
        ISOSAuthenticationOptions objAO = new SOSFTPOptions();
        String strUserInfo = objURL.getUserInfo();
        logger.info("User-Info = " + strUserInfo);
        String[] strUI = strUserInfo.split(":");
        objAO.getUser().Value(strUI[0]);
        objAO.getPassword().Value(strUI[1]);
        objC.Authenticate(objAO);
        objAO = null;
        logger.info("objURL.getAuthority() : " + objURL.getAuthority());
        logger.info("objURL.getFile()" + objURL.getFile());
      }
View Full Code Here

TOP

Related Classes of com.sos.VirtualFileSystem.Interfaces.ISOSAuthenticationOptions

Copyright © 2018 www.massapicom. 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.