Package cn.dreampie.shiro.model

Examples of cn.dreampie.shiro.model.User


//
//                    return String.valueOf(value);
//                }
//            }
      if (principal != null) {
        User user = (User) principal;
        if (user != null && user.get(property) != null) {
          return String.valueOf(user.get(property));
        }
      }
      return "";
      // property not found, throw
      //throw new TemplateModelException("Property [" + property + "] not found in principal of type [" + principal.getClass().getName() + "]");
View Full Code Here

TOP

Related Classes of cn.dreampie.shiro.model.User

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.