package com.dcit.authority.shiro.provider.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dcit.authority.dao.SysUserMapper;
import com.dcit.authority.shiro.domain.AuthUserInfo;
import com.dcit.authority.shiro.provider.ShiroAuthProvider;

@Service
public class ShiroAuthProviderImpl implements ShiroAuthProvider {
	
	@Autowired
	private SysUserMapper sysUserMapper;

	@Override
	public AuthUserInfo loadAuthUserInfoByAccount(String account) {
		// TODO Auto-generated method stub
		return sysUserMapper.loadAuthUserInfoByAccount(account);
	}


}
