Examples of LogoutAction


Examples of actions.LogoutAction

    actions.put("menu",new MenuAction("index.jsp",pageErreur));
    //actions.put("vuePanier",new NullAction("vuePanier.jsp"));
    actions.put("vuePanier",new VuePanierAction("vuePanier.jsp","login.jsp","message.jsp"));
    //actions.put("login",new NullAction("login.jsp"));
    actions.put("login",new LoginAction("login.jsp","login.jsp","vuePanier.jsp"));
    actions.put("logout", new LogoutAction("message.jsp","index.jsp"));
    //actions.put("creationCompte",new NullAction("creationCompte.jsp"));
    actions.put("creationCompte",new CreationCompteAction("creationCompte.jsp","creationCompte.jsp","login.jsp"));   
    actions.put("vueProduit",new VueProduitAction("vueProduit.jsp",pageErreur));
    actions.put("monProfil",new MonProfilAction("monProfil.jsp","login.jsp","monProfil.jsp"));
    actions.put("mesCommandes", new MesCommandesAction("mesCommandes.jsp","mesCommandes.jsp"));
View Full Code Here

Examples of actions.LogoutAction

    actions.put("menu",new MenuAction("index.jsp",pageErreur));
    //actions.put("vuePanier",new NullAction("vuePanier.jsp"));
    actions.put("vuePanier",new VuePanierAction("vuePanier.jsp","login.jsp","message.jsp"));
    //actions.put("login",new NullAction("login.jsp"));
    actions.put("login",new LoginAction("login.jsp","login.jsp","vuePanier.jsp"));
    actions.put("logout", new LogoutAction("message.jsp","index.jsp"));
    //actions.put("creationCompte",new NullAction("creationCompte.jsp"));
    actions.put("creationCompte",new CreationCompteAction("creationCompte.jsp","creationCompte.jsp","login.jsp"));   
    actions.put("vueProduit",new VueProduitAction("vueProduit.jsp",pageErreur));
    actions.put("monProfil",new MonProfilAction("monProfil.jsp","login.jsp","monProfil.jsp"));
    actions.put("mesCommandes", new MesCommandesAction("mesCommandes.jsp","mesCommandes.jsp"));
View Full Code Here

Examples of com.changestuffs.shared.actions.LogoutAction

  }

  @Override
  public void handleLogout() {
    GWT.log("Revealing NotLogged");
    dispatcher.execute(new LogoutAction(Window.Location.getHref()), new AsyncCallback<LogoutResult>() {
      @Override
      public void onFailure(Throwable caught) {
        GWT.log("Error doing logout", caught);
      }
View Full Code Here

Examples of com.puzzlebazar.shared.action.LogoutAction

  }

  private void doSignOut() {
    getView().setLoggedOut();
    placeManager.revealDefaultPlace();
    dispatcher.execute(new LogoutAction(), new ActionCallback<NoResult>() {
      @Override
      public void onSuccess(NoResult noResult) { }
    });
  }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.logon.LogoutAction

        addAction(new DebugAction(this));
        addAction(new DebugUserAction(debugUsers));
        addAction(new EditAction());
        addAction(new RemoveAction());
        addAction(new LogonAction());
        addAction(new LogoutAction());
        addAction(new LogAction());

        final String configFile = getParameter("config");
        if (configFile != null) {
            final File file = new File(dir, configFile);
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.logon.LogoutAction

        addAction(new DebugAction(this));
        addAction(new DebugUserAction(debugUsers));
        addAction(new EditAction());
        addAction(new RemoveAction());
        addAction(new LogonAction());
        addAction(new LogoutAction());
        addAction(new LogAction());

        final String configFile = getParameter("config");
        if (configFile != null) {
            final File file = new File(dir, configFile);
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.logon.LogoutAction

        addAction(new DebugAction(this));
        addAction(new DebugUserAction(debugUsers));
        addAction(new EditAction());
        addAction(new RemoveAction());
        addAction(new LogonAction());
        addAction(new LogoutAction());
        addAction(new LogAction());

        final String configFile = getParameter("config");
        if (configFile != null) {
            final File file = new File(dir, configFile);
View Full Code Here

Examples of org.cspoker.common.api.shared.action.LogoutAction

    this.accountContext = new XmlRemoteAccountContext(performer, generator);
    this.cashierContext = new XmlRemoteCashierContext(performer, generator);
  }

  public void logout() throws RemoteException, IllegalActionException {
    performer.perform(new LogoutAction(generator.getNextID()));
  }
View Full Code Here

Examples of org.keycloak.representations.adapters.action.LogoutAction

        try {
            JWSInput token = verifyAdminRequest();
            if (token == null) {
                return;
            }
            LogoutAction action = JsonSerialization.readValue(token.getContent(), LogoutAction.class);
            if (!validateAction(action)) return;
            if (action.getAdapterSessionIds() != null) {
                userSessionManagement.logoutHttpSessions(action.getAdapterSessionIds());
            } else {
                log.debugf("logout of all sessions for application '%s'", action.getResource());
                if (action.getNotBefore() > deployment.getNotBefore()) {
                    deployment.setNotBefore(action.getNotBefore());
                }
                userSessionManagement.logoutAll();
            }
        } catch (Exception e) {
            throw new RuntimeException(e);
View Full Code Here

Examples of org.keycloak.representations.adapters.action.LogoutAction

        }
        return result;
    }

    protected boolean sendLogoutRequest(RealmModel realm, ApplicationModel resource, List<String> adapterSessionIds, ApacheHttpClient4Executor client, int notBefore, String managementUrl) {
        LogoutAction adminAction = new LogoutAction(TokenIdGenerator.generateId(), Time.currentTime() + 30, resource.getName(), adapterSessionIds, notBefore);
        String token = new TokenManager().encodeToken(realm, adminAction);
        if (logger.isDebugEnabled()) logger.debugv("logout resource {0} url: {1} sessionIds: " + adapterSessionIds, resource.getName(), managementUrl);
        ClientRequest request = client.createRequest(UriBuilder.fromUri(managementUrl).path(AdapterConstants.K_LOGOUT).build().toString());
        ClientResponse response;
        try {
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.