老师好:
我用Spring Security开发的用户登录鉴权的微服务,想用Spring Boot Admin监控起来。
可是在Spring Boot Admin监控页面发现,这个登录鉴权的微服务一直是Down,点进去一样,发现提示未鉴权。
{
"timestamp": "2018-07-03T08:15:48+0000",
"principal": "anonymousUser",
"type": "AUTHORIZATION_FAILURE",
"data": {
"details": {
"remoteAddress": "10.154.4.3",
"sessionId": null
},
"type": "org.springframework.security.access.AccessDeniedException",
"message": "Access is denied"
}
} 详情见截图。

Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全
了解课程