Examples of LoginInfo


Examples of smilehouse.openinterface.LoginInfo

                // Get OpenInterface
                // -----------------
               
                OpenInterfaceIF oi = WorkspaceOIUtils.getOpenInterfaceIF(this.oiEndpointAddress,
                                                                         getOpenInterfaceHost());
                LoginInfo login = getLoginInfo();
               
                // Update all order statuses
                WorkspaceOIUtils.setOrderStatus(oi,
                    login,
                    getOrderIds(),
View Full Code Here

Examples of smilehouse.openinterface.LoginInfo

        // Store import mode
        this.importMode = importMode;
       
        // Prepare OpenInterface login parameters
        LoginInfo login = new LoginInfo();
        login.setDatabase(database);
        login.setUserName(user);
        login.setPassword(password);
        this.login = login;
       
        // ----------------------------
        // Connect to the OpenInterface
        // ----------------------------
View Full Code Here

Examples of smilehouse.openinterface.LoginInfo

        // -------------
        // Do the import
        // -------------
        try {
            LoginInfo login = new LoginInfo();
            login.setDatabase(database);
            login.setUserName(user);
            login.setPassword(password);
           
            ImportResult result = oi.importProducts2(
                login,
                data,
                importMode.intValue(),
View Full Code Here

Examples of welcome.shared.login.LoginInfo

  private static final long serialVersionUID = 5629638296783206880L;

  public LoginInfo login(String requestUri) {
    UserService userService = UserServiceFactory.getUserService();
    User user = userService.getCurrentUser();
    LoginInfo loginInfo = new LoginInfo();

    if (user != null) {
      loginInfo.setLoggedIn(true);
      loginInfo.setEmailAddress(user.getEmail());
      loginInfo.setNickname(user.getNickname());
      loginInfo.setLogoutUrl(userService.createLogoutURL(requestUri));
    } else {
      loginInfo.setLoggedIn(false);
      loginInfo.setLoginUrl(userService.createLoginURL(requestUri));
    }
    return loginInfo;
  }
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.