401 No access to springboot-actuator monitoring

Source: Internet
Author: User

Take a moment to look at spring monitoring today
Error when accessing sensitive information such as/beans

Tue Mar 21:18:57 gmt+08:00 2017
There is an unexpected error (type=unauthorized, status=401).
Full authentication are required to access this resource.

Application.properties Adding configuration parameters

Management.security.enabled=false

ID Description sensitive (sensitive)
AutoConfig Displays a auto-configuration report showing all auto-configuration candidates and why they were applied or not applied True
Beans Displays a complete list of all spring beans in an app True
Configprops Displays a list of all @configurationproperties True
Dump Perform a thread dump True
Env Exposing properties from Spring configurableenvironment True
Health Show your app's health information (show a simple ' status ' when using an unauthenticated connection, access with an authenticated connection to show full details) False
Info Display any application information False
Metrics Display the current app's ' metrics ' information True
Mappings Displays an organized list of all @requestmapping paths True
Shutdown Allow apps to close gracefully (not enabled by default) True
Trace Display trace information (default to some HTTP requests that are up to date) True

I can't find the answer on the Internet or the official document.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.