摘要:
配置如上所示。但是需要注意,检查的是ADMIN角色,库里存的字段要是ROLE_ADMIN,而不是ADMIN。 The HttpServletRequest.isUserInRole(String) will determine if SecurityContextHolder.getContext( 阅读全文
posted @ 2017-06-15 15:14
csonezp
阅读(317)
评论(0)
推荐(0)

浙公网安备 33010602011771号