Examples of logoff()


Examples of com.llfix.api.FIXAcceptor.logOff()

    Executors.newScheduledThreadPool(2).schedule(new Runnable() {
     
      @Override
      public void run() {
        fix.logOff("SENDER","TIMETOGO");
      }
    }, 30L, TimeUnit.SECONDS);

    System.in.read();
  }
View Full Code Here

Examples of com.threerings.presents.client.Client.logoff()

        if (_client != null) {
            // hide the frame and log off
            _frame.setVisible(false);
            Client client = _client.getContext().getClient();
            if (client.isLoggedOn()) {
                client.logoff(false);
            }
        }
    }

    protected MiCasaClient _client;
View Full Code Here

Examples of jrun.servlet.security.AuthenticatedUser.logoff()

                HttpServletRequest request = FlexContext.getHttpRequest();
       
                HttpSession session = request.getSession();
                String sessionId = session.getId();
                AuthenticatedUser currentUser = usersService.getUser(sessionId, webApp);
                currentUser.logoff();
            }
            catch (NullPointerException npe)
            {
            }
        }
View Full Code Here

Examples of jrun.servlet.security.AuthenticatedUser.logoff()

            HttpServletRequest request = FlexContext.getHttpRequest();

            HttpSession session = request.getSession();
            String sessionId = session.getId();
            AuthenticatedUser currentUser = usersService.getUser(sessionId, webApp);
            currentUser.logoff();

            return true;
        }
        catch (NullPointerException npe)
        {
View Full Code Here

Examples of labsis.usuario.managers.Manager.logoff()

    else if (user != null) {
      // efetua logoff
      if (comm.equals("logoff")) {
        Manager m = Manager.getInstace();
        url = "/usuarios/jsp/login.jsp";
        if (m.logoff(user.getUsername())) {
          request.getSession().removeAttribute("usuario");
          msg = "Logged off";
        } else {
          url = "/usuarios/jsp/welcome.jsp";
          msg = "Erro ao efetuar log off!";
View Full Code Here

Examples of org.apache.wicket.security.WaspSession.logoff()

      @Override
      public void onClick()
      {
        WaspSession waspSession = ((WaspSession) getSession());
        if (waspSession.logoff(getLogoffContext()))
        {
          // homepage is not allowed anymore so we end up at the
          // loginpage
          setResponsePage(Application.get().getHomePage());
          waspSession.invalidate();
View Full Code Here

Examples of org.apache.wicket.security.WaspSession.logoff()

      {
        WaspSession secureSession = (WaspSession) getSession();

        if (secureSession.isUserAuthenticated() && getLoggedInUser() != null)
        {
          secureSession.logoff(getLoggedInUser());
          secureSession.invalidateNow();
        }

        MyLoginContext userContext = new MyLoginContext(username, password);
View Full Code Here

Examples of org.jxchange.client.cdo121.JXCdoSession.Logoff()

              false), new JIString(
              "PUNAXCHEMBPIN02.enterprise.corp.com" + "\n"
                  + "vikram_roopchand").Variant);
      System.out.println(jxCdoSession.GetCurrentUser());
      System.out.println(jxCdoSession.GetCdoClass());
      jxCdoSession.Logoff();
    } catch (UnknownHostException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (JIException e) {
      // TODO Auto-generated catch block
View Full Code Here

Examples of org.jxchange.client.cdo121.JXCdoSession.Logoff()

              JXCdoFolder root = new  JXCdoFolder(jxCdoSession,ifs.GetRootFolder());

              // build a tree based on the mailbox folders structure
              listFolders(jxCdoSession,root);
             
      jxCdoSession.Logoff();
    } catch (UnknownHostException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (JIException e) {
      // TODO Auto-generated catch block
View Full Code Here

Examples of org.jxchange.client.cdo121.JXCdoSession.Logoff()

          new JIVariant(false), new JIVariant(true), new JIVariant(
              false), new JIVariant(false), new JIString(
              ICredentialBag.logoncred_profileinfo).Variant);
          JXCdoAddressEntry user = new JXCdoAddressEntry(jxCdoSession,jxCdoSession.GetCurrentUser());
      System.out.println("Current user: " + user.GetName().getObjectAsString().getString());
      jxCdoSession.Logoff();
    } catch (UnknownHostException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    } catch (JIException e) {
      // TODO Auto-generated catch block
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.