Examples of LoginEvent


Examples of at.riemers.zero.base.LoginEvent

        if (session.getAttribute("login") == null) {
            session.setAttribute("login", getUser().getUsername());
            for (Module module : getModuleManager().getModules()) {
                if (module instanceof LoginListener) {
                    ((LoginListener) module).loginPerformed(new LoginEvent((HttpServletRequest) request, (User) getUser()));
                }
            }
        }

        ZeroView view = new ZeroView(getMessages(), request.getLocale());
View Full Code Here

Examples of com.atlassian.confluence.event.events.security.LoginEvent

            if (user != null) {
                putPrincipalInSessionContext(request, user);
                getElevatedSecurityGuard().onSuccessfulLoginAttempt(request, username);
                // Firing this event is necessary to ensure the user's personal information is initialised correctly.
                getEventPublisher().publish(
                        new LoginEvent(this, username, request.getSession().getId(), remoteHost, remoteIP));
                LoginReason.OK.stampRequestResponse(request, response);
                LOGGER.debug("Logging in [{}] from CAS.", username);
            } else {
                LOGGER.debug("Failed logging [{}] from CAS.", username);
                getElevatedSecurityGuard().onFailedLoginAttempt(request, username);
View Full Code Here

Examples of com.casamind.adware.client.event.LoginEvent

      }

      @Override
      public void onSuccess() {
        goAfterLogin();
        eventBus.fireEvent(new LoginEvent(currentUser));
      }
    });
  }
View Full Code Here

Examples of com.ettrema.mail.LoginEvent

            return ret;
        }
    }

    public boolean doLogin(String username, String password) {
        final LoginEvent event = new LoginEvent(username, password);
        Filter terminal = new Filter() {

            public void doEvent(FilterChain chain, Event e) {
                event.setLoginSuccessful( _doLogin(event.getUsername(), event.getPassword()) );
            }
        };
        FilterChain chain = new FilterChain(filters, terminal);
        chain.doEvent(event);
        return event.isLoginSuccessful();
    }
View Full Code Here

Examples of com.metadot.book.connectr.client.event.LoginEvent

        Window.alert("Code download error: " + reason.getMessage());
      }

      @Override public void onSuccess() {
        goAfterLogin();
        eventBus.fireEvent(new LoginEvent(currentUser));
      }
    });
  }
View Full Code Here

Examples of lv.odylab.evemanage.client.event.login.LoginEvent

        action.setLocale(LocaleInfo.getCurrentLocale().getLocaleName());
        display.getSpinnerImage().setVisible(true);
        rpcService.execute(action, new LoginActionCallback<LoginActionResponse>(eventBus, trackingManager, constants) {
            @Override
            public void onSuccess(LoginActionResponse response) {
                eventBus.fireEvent(new LoginEvent(response));
            }

            @Override
            public void onFailure(Throwable throwable) {
                display.getSpinnerImage().setVisible(false);
View Full Code Here

Examples of net.md_5.bungee.api.event.LoginEvent

                } );
            }
        };

        // fire login event
        bungee.getPluginManager().callEvent( new LoginEvent( InitialHandler.this, complete ) );
    }
View Full Code Here

Examples of net.relatedwork.client.tools.events.LoginEvent

    // Register Session
    sessionInformation.continueSession();

    // fire Login/Logout depending on wether we continue a user session
    if (sessionInformation.isLoggedIn()) {
      getEventBus().fireEvent(new LoginEvent(sessionInformation));
    }

    // Remark: RPC calls have to be in onReveal!
    // Does not work at onBind, onReset! -> null object exception
  }
View Full Code Here

Examples of net.relatedwork.client.tools.events.LoginEvent

                  @Override
                  public void onSuccess(LoginActionResult result) {
                    // LoginScucessfull
                    // fire LoginEvent
                    getEventBus().fireEvent(new LoginEvent(result.getSession()));

                    // Clear username/pw from login popup
                    getView().clearFields();
                   
                    // hide Popups
View Full Code Here

Examples of net.relatedwork.client.tools.events.LoginEvent

      public void onSuccess(UserVerifyActionResult result) {
        getView().showSuccess(
            result.getSession().emailAddress
            );
       
        getEventBus().fireEvent(new LoginEvent(result.getSession()));
      }
     
    });
     
  }
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.