2013-02-22 302 views

回答

8

您可以使用SecurityContextHolder.getContext().getAuthentication().getAuthorities()获取当前登录的用户角色的集合。

相关问题