Examples of ConnectionData


Examples of com.ca.commons.jndi.ConnectionData

     */
    public CBOpenConWin(Frame owner, JLabel statusDisplay, String clientcerts, String cacerts, String helpID)
    {
        super(owner, CBIntText.get("Open LDAP connection"), helpID); // create modal dialog ...

        newCon = new ConnectionData();//ConnectionData();

        newCon.clientcerts = clientcerts;
        newCon.cacerts = cacerts;

        initGUI(statusDisplay);
View Full Code Here

Examples of com.daikit.daikit4gxt.shared.bean.ConnectionData

    {
      showInvalidMessageBox();
    }
    else
    {
      final ConnectionData connectionData = createConnectionData(login, password);
      DkMain.controller().doConnect(connectionData, chainActionIfLoginSucceded);
      dialogBox.hide();
    }
  }
View Full Code Here

Examples of com.daikit.daikit4gxt.shared.bean.ConnectionData

    }
  }

  protected ConnectionData createConnectionData(final String login, final String password)
  {
    final ConnectionData connectionData = new ConnectionData();
    connectionData.setLogin(login);
    connectionData.setPassword(password);
    return connectionData;
  }
View Full Code Here

Examples of com.wordpress.salaboy.smarttasks.formbuilder.api.ConnectionData

     * @return
     */
    @RequestMapping(value = "/list/{entity}/{profile}", method = RequestMethod.GET)
    public String list(@PathVariable("entity") String entity,
            @PathVariable("profile") String profile, Model model) {
        helper.connect(new ConnectionData(entity));
        String stringTaskList = helper.getTaskList(profile);

        TaskListsData taskListdata = (TaskListsData) yaml.load(stringTaskList);
        Object[][] data = taskListdata.getData();
        model.addAttribute("data", data);
View Full Code Here

Examples of com.wordpress.salaboy.smarttasks.formbuilder.api.ConnectionData

   * @throws InvalidTaskException
   *             if a task is not found
   */
  protected void getTaskForm(String entity, String id, String profile)
      throws InvalidTaskException {
    ConnectionData connectionData = new ConnectionData(entity);
    helper.connect(connectionData);
    String taskType = this.getTaskType();

    String stringTaskform = helper.getTaskForm(id, taskType, profile);
    TaskForm deserializedForm = (TaskForm) yaml.load(stringTaskform);
View Full Code Here

Examples of com.wordpress.salaboy.smarttasks.formbuilder.api.ConnectionData

     */
    @RequestMapping(value = "/list/{entity}/{profile}", method = RequestMethod.GET)
    public String list(@PathVariable("entity") String entity,
            @PathVariable("profile") String profile, Model model) {
        logger.info("Let's get the Task List!");
        ConnectionData connectionData = new ConnectionData(entity);
        helper.connect(connectionData);
        String set = helper.getTaskList(profile);
//        TaskListDataSet set = taskListHelper.getDataSet(0,
//                taskListHelper.getDataCount());
        Yaml yaml = new Yaml();
View Full Code Here

Examples of com.wordpress.salaboy.smarttasks.formbuilder.api.ConnectionData

    public String taskInfo(@PathVariable("id") String id,
            @PathVariable("entity") String entity,
            @PathVariable("name") String name,
            @PathVariable("profile") String profile, Model model) {
        logger.info("Let's get the Task List!");
        ConnectionData connectionData = new ConnectionData(entity);
        helper.connect(connectionData);
//        taskHelper = helper.getTaskSupportHelper(id, name.trim(), profile);
        try {
            String stringTaskInfo = helper.getTaskForm(id, name.trim(), profile);
            Yaml yaml = new Yaml();
View Full Code Here

Examples of com.wordpress.salaboy.smarttasks.formbuilder.api.ConnectionData

            @PathVariable("entity") String entity,
            @PathVariable("name") String name,
            @PathVariable("document") String document,
            @PathVariable("profile") String profile, Model model) {
        if (helper != null) {
          helper.connect(new ConnectionData(entity));
            try {
                Map<String, Object> map = new HashMap<String, Object>();
                map.put("document", document);
                helper.executeTaskAction(action, map, taskId);
            } catch (InvalidTaskException e) {
View Full Code Here

Examples of net.wimpi.telnetd.net.ConnectionData

  public int getHeight() {
    return termIO.getRows();
  }

  public String getProperty(String name) {
    ConnectionData data = conn.getConnectionData();
    if (data != null)
    {
      HashMap map = data.getEnvironment();
      if (map != null) {
        Object value = map.get(name);
        if (value != null) {
          return value.toString();
        }
View Full Code Here

Examples of net.wimpi.telnetd.net.ConnectionData

      io.setBackgroundColor(BasicTerminalIO.BLACK);

      String splashPage = getSplashLoader().loadMudSplash();
      io.write(splashPage);
      io.write("");
      ConnectionData connectionData = getConnection().getConnectionData();
      io.writeln("term type:" + connectionData.getNegotiatedTerminalType());

      try {
        lc = new LoginContext("Mud", this);
      } catch (SecurityException e) {
        logger.error(e, e);
      } catch (LoginException e) {
        logger.error(e, e);
      }

      int logins = 0;
      for (; logins < 3; logins++) {
        try {
          lc.login();
          break;
        } catch (LoginException e) {
          logger.error(e, e);

        }
      }

      if (logins < 3) {
        if (player != null) {
          player.setTerminalOutput(getExtendedTerminalIO());
          getObjectRegistry().register(player);
          getObjectRegistry().addActivePlayer(this, player);

          try {
            doMovePlayer(io, player);
          } catch (Exception e) {
            io.writeln("Eeek you fell into the void!");
            getObjectLoader().movePlayerToVoid(player);
            logger.error(e, e);
          }
          HashMap environment = connectionData.getEnvironment();
          environment.put("player", player);
          environment.put("registry", getObjectRegistry());
          environment.put("loginContext", lc);
          environment.put("terminalIO", getExtendedTerminalIO());
          getConnection().setNextShell(MudShell.BEAN_NAME);
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.