Spring Boot: Full authentication is required to access this resource

前端 未结 3 1508
情话喂你
情话喂你 2021-01-04 00:15

I am doing example of Spring Boot Security with wso2is server from this post https://github.com/angel-git/wso2is-springoauth, when I am trying to access resource with access

3条回答
  •  北海茫月
    2021-01-04 00:21

    I was getting the same error message for

    "curl http://localhost:8080/spring4/beans" :
    {"timestamp":1493591079040,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/spring4/beans"}
    

    Setting the below property in application.properties bypassed the security check & I could use all the acuator endpoints:

    management.security.enabled=false
    

提交回复
热议问题