package com.rrtx.services.common.authentication;

import com.rrtx.services.common.annotation.Helper;
import org.apache.shiro.authz.AuthorizationInfo;


/**
 * ClassName: ShiroHelper<br>
 * Description: ShiroHelper <br>
 * Company: rrtx
 *
 * @author rrtx
 * @version v1.0.0    2019/7/24 4:41 PM  xugz    文件初始创建
 */
@Helper
public class ShiroHelper extends ShiroRealm {

	/**
	 * 获取当前用户的角色和权限集合
	 *
	 * @return AuthorizationInfo
	 */
	public AuthorizationInfo getCurrentuserAuthorizationInfo() {
		return super.doGetAuthorizationInfo(null);
	}
}
