/*    */ package com.picc.grab.common.shiro.service.impl;
/*    */ 
/*    */ import com.picc.grab.common.shiro.service.IShiroService;
/*    */ import com.picc.grab.config.SpringContextHolder;
/*    */ import com.picc.grab.entity.ShiroUser;
/*    */ import com.picc.grab.service.IInterfaceRequestService;
/*    */ import org.slf4j.Logger;
/*    */ import org.slf4j.LoggerFactory;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.context.annotation.DependsOn;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ 
/*    */ @Service
/*    */ @DependsOn({"springContextHolder"})
/*    */ public class ShiroServiceImpl
/*    */   implements IShiroService
/*    */ {
/* 19 */   private static final Logger logger = LoggerFactory.getLogger(ShiroServiceImpl.class);
/*    */   
/*    */   @Autowired
/*    */   private IInterfaceRequestService requestService;
/*    */   
/*    */   public static IShiroService me() {
/* 25 */     return (IShiroService)SpringContextHolder.getBean(IShiroService.class);
/*    */   }
/*    */ 
/*    */   
/*    */   public ShiroUser shiroUser(String username) {
/* 30 */     ShiroUser shiroUser = this.requestService.shiroUser(username);
/* 31 */     return shiroUser;
/*    */   }
/*    */ }


/* Location:              C:\Users\Administrator\Desktop\ROOT\WEB-INF\classes\!\com\picc\grab\common\shiro\service\impl\ShiroServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */