Examples of Login


Examples of example.chat.msgtask.Login

    //线程里运行,这里只是一个例程,所以没有做这方面的事情
   
    InputMessage inMsg = (InputMessage) msg;
    switch(inMsg.getCmdType()) {
    case ChatCommandId.C_LOGIN_REQ:
      new Login(session, inMsg).run();
      break;
    case ChatCommandId.C_FRIENDLIST_REFURBISH_REQ:
      new FriendList(session,inMsg).run();
      break;
    case ChatCommandId.C_ADDFRIEND_REQ:
View Full Code Here

Examples of forms.Login

        assertThat(status(result)).isEqualTo(BAD_REQUEST);
        assertThat(session(result).get(EMAIL_FIELD)).isNull();
    }

    private Map<String, String> loginData(String email, String password) {
        Login login = login(email, password);
        return data(login);
    }
View Full Code Here

Examples of healthwatcher.view.command.Login

        commandTable.put(HWServlet.CommandGetDataForSearchBySpeciality, new GetDataForSearchBySpeciality(facade));
      commandTable.put(HWServlet.CommandInsertAnimalComplaint, new InsertAnimalComplaint(facade));
      commandTable.put(HWServlet.CommandInsertEmployee, new InsertEmployee(facade));
      commandTable.put(HWServlet.CommandInsertFoodComplaint, new InsertFoodComplaint(facade));
      commandTable.put(HWServlet.CommandInsertSpecialComplaint, new InsertSpecialComplaint(facade));
      commandTable.put(HWServlet.CommandLogin, new Login(facade));
      commandTable.put(HWServlet.CommandLoginMenu, new LoginMenu(facade));
      commandTable.put(HWServlet.CommandSearchComplaintData, new SearchComplaintData(facade));
      commandTable.put(HWServlet.CommandSearchDiseaseData, new SearchDiseaseData(facade));
      commandTable.put(HWServlet.CommandSearchHealthUnitsBySpecialty, new SearchHealthUnitsBySpecialty(facade));
      commandTable.put(HWServlet.CommandSearchSpecialtiesByHealthUnit, new SearchSpecialtiesByHealthUnit(facade));
View Full Code Here

Examples of juzu.plugin.shiro.Login

    return resp;
  }

  public Response doLogin(Stage.Handler stage) {
    Request request = stage.getRequest();
    Login loginAnnotation = request.getHandler().getMethod().getAnnotation(Login.class);
    Subject subject = SecurityUtils.getSubject();

    boolean remember = request.getParameterArguments().get(loginAnnotation.rememberMe()) != null ? true : false;
    String username = null;
    String password = null;
    try {
      username = request.getParameterArguments().get(loginAnnotation.username()).getValue();
      password = request.getParameterArguments().get(loginAnnotation.password()).getValue();
    } catch (NullPointerException e) {
      List<ControlParameter> parameters = request.getHandler().getParameters();
      for (ControlParameter parameter : parameters) {
        if (parameter instanceof ContextualParameter) {
          if (AuthenticationException.class.isAssignableFrom(parameter.getType())) {
View Full Code Here

Examples of me.taylorkelly.bigbrother.datablock.Login

                plugin.watchPlayer(player);
            }
        }
        */
        if (BBSettings.login && pi.getWatched()) {
            Login dataBlock = new Login(player, player.getWorld().getName());
            dataBlock.send();
        }
       
        BBLogging.debug(player.getName() + " has Permissions: ");
        BBLogging.debug("- Watching privileges: " + BBPermissions.watch(player));
        BBLogging.debug("- Info privileges: " + BBPermissions.info(player));
View Full Code Here

Examples of net.md_5.bungee.protocol.packet.Login

            // Once again, first connection
            user.setClientEntityId( login.getEntityId() );
            user.setServerEntityId( login.getEntityId() );

            // Set tab list size, this sucks balls, TODO: what shall we do about packet mutability
            Login modLogin = new Login( login.getEntityId(), login.getGameMode(), (byte) login.getDimension(), login.getDifficulty(),
                    (byte) user.getPendingConnection().getListener().getTabListSize(), login.getLevelType(), login.isReducedDebugInfo() );

            user.unsafe().sendPacket( modLogin );

            if ( user.getPendingConnection().getVersion() < ProtocolConstants.MINECRAFT_SNAPSHOT )
View Full Code Here

Examples of net.tacospice.stevenet.NetworkMessages.Login

    kryoClient.addListener(new Listener()
    {
      @Override
      public void connected(Connection connection)
      {
        Login login = new Login();
        login.name = name;
        sendTCP(login);
      }

      @Override
View Full Code Here

Examples of no.ugland.utransprod.gui.Login

    user = applicationUserManager.login("admin", "admin");
    applicationUserManager.lazyLoad(user, new LazyLoadEnum[][] { {
        LazyLoadEnum.USER_ROLES, LazyLoadEnum.NONE } });
    UserType userType = user.getUserRoles().iterator().next().getUserType();

    Login login = new LoginImpl(user, userType);

    ProductionUnitViewHandler productionUnitViewHandler = new ProductionUnitViewHandler(
        login, productionUnitManager);

    ProductionUnitModel productionUnitModel = new ProductionUnitModel(
View Full Code Here

Examples of no.ugland.utransprod.gui.Login

public class OrderArticleViewHandlerTest {

  @Test
  public void skal_sette_komplett_til_nei_dersom_det_legges_til_artikkel(){
    PresentationModel presentationModel = null;
    Login login=null;
    ManagerRepository managerRepository=null;
    OrderArticleViewHandler<Order, OrderModel> orderArticleViewHandler=new OrderArticleViewHandler<Order, OrderModel>(presentationModel, false, login, managerRepository);
    Order order=new Order();
    order.setOrderComplete(new Date());
    ArticleType newArticleType=new ArticleType();
View Full Code Here

Examples of no.ugland.utransprod.gui.Login

    user = applicationUserManager.login("admin", "admin");
    applicationUserManager.lazyLoad(user, new LazyLoadEnum[][] { {
        LazyLoadEnum.USER_ROLES, LazyLoadEnum.NONE } });
    UserType userType = user.getUserRoles().iterator().next().getUserType();

    Login login = new LoginImpl(user, userType);

    when(managerRepository.getSupplierManager())
        .thenReturn(supplierManager);

    SupplierViewHandler supplierViewHandler = new SupplierViewHandler(
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.