Package com.alexnevsky.hotel.commands.general

Examples of com.alexnevsky.hotel.commands.general.LoginCommand


  /**
   * Construct command's catalogues.
   */
  private RequestHelper() {
    // general commands
    this.commandCatalog.put(AttributesManager.COMMAND_LOGIN, new LoginCommand());
    this.commandCatalog.put(AttributesManager.COMMAND_LOGOUT, new LogoutCommand());
    this.commandCatalog.put(AttributesManager.COMMAND_LANG, new LangCommand());

    // customer commands
    this.commandCatalog.put(AttributesManager.COMMAND_BOOKING_ROOM, new BookingRoomCommand());
View Full Code Here


        logger.info("Not auth user change language: '" + command + "'" + ". RemoteAddr: "
            + request.getRemoteAddr());

      } else { // not lang command. login command: default command for not auth user
        command = new LoginCommand();

        logger.warn("Action '" + action + "' from not auth user. Create and send command to controller: '"
            + command + "'" + ". RemoteAddr: " + request.getRemoteAddr());
      } // end if lang action
    } // end isAuthUser()
View Full Code Here

TOP

Related Classes of com.alexnevsky.hotel.commands.general.LoginCommand

Copyright © 2018 www.massapicom. 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.