Package org.beangle.security.blueprint.model

Examples of org.beangle.security.blueprint.model.AdminUserBean


      if (null == user) {
        return redirect("admin", "info.save.failure");
      } else {
        if (authorityService.getUserService().isAdmin(user)) { return redirect("admin",
            "info.save.failure"); }
        AdminUser adminUser = new AdminUserBean();
        adminUser.setUser(user);
        adminUser.setCreatedAt(new Date());
        adminUser.setUpdatedAt(new Date());
        entityDao.saveOrUpdate(adminUser);
        return redirect("admin", "info.save.success");
      }
    }
    Long adminId = getLong("removeAdminId");
View Full Code Here

TOP

Related Classes of org.beangle.security.blueprint.model.AdminUserBean

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.