apache shiro 如何获取登录信息
UserInformation user = (UserInformation) SecurityUtils.getSubject().getPrincipal();
UserInformation : 配置的登录信息自动映射.
UserInformation user = (UserInformation) SecurityUtils.getSubject().getPrincipal();
UserInformation : 配置的登录信息自动映射.