Learning Spring Boot by Turnquist Greg L

Learning Spring Boot by Turnquist Greg L

Author:Turnquist, Greg L. [Turnquist, Greg L.]
Language: eng
Format: azw3, epub
Publisher: Packt Publishing
Published: 2014-11-27T05:00:00+00:00


Finally, it's good to know that each endpoint's route can be altered as well. To change the info endpoint, include the following code in application.properties:

endpoints.info.id=appdata

Tip

The other endpoints you can adjust are autoconfig, beans, configprops, dump, env, health, metrics, mappings, shutdown, and trace. endpoints. The <name>.id=/<newpath> statement is the way to override the default routes.

So what happens if we visit the app through a public-facing site?

We can't see it! There is no unauthorized access or fancy error page. Instead, we simply have the browser telling us that such a path doesn't exist. We can't even deduce that this is a Spring Boot application because no information is given away.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.