Package org.hfuu.uaadac.domain

Examples of org.hfuu.uaadac.domain.OnlineAccount


    if (!"".equals(accountId)) {
      accountId = CipherHelper.decrypt(accountId.getBytes(Charsets.UTF_8));
     
      Account account = accountService.getAccount(Long.getLong(accountId));
      if (null != account) {
        OnlineAccount onlineAccount = new OnlineAccount();
        onlineAccount.setAccount(account.getAccounts());
        onlineAccount.setAccountId(account.getId());
        onlineAccount.setSessionId(session.getId());
        onlineAccount.setAccountStatus(true);
       
        onlineAccountService.addOnlineAccount(onlineAccount);
       
        session.setAttribute("account", account);
       
View Full Code Here


    if (!"".equals(username)) {
     
      Account account = accountService.findAccount(username);
      if (null != account && password.equals(account.getPassword())) {
       
        OnlineAccount onlineAccount = new OnlineAccount();
        onlineAccount.setAccount(account.getAccounts());
        onlineAccount.setAccountId(account.getId());
        onlineAccount.setSessionId(session.getId());
        onlineAccount.setAccountStatus(true);
       
        onlineAccountService.addOnlineAccount(onlineAccount);

        if (Boolean.getBoolean(rememberMe)) {
          Cookie cookieFlag = new Cookie(COOKIE_FLAG, username);
View Full Code Here

TOP

Related Classes of org.hfuu.uaadac.domain.OnlineAccount

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.