Enable Socks Proxy for Spring Boot app when running via IntelliJ Idea - spring

I need to develop a Spring Boot application which has external network calls which should get triggered behind a socks proxy. Tried changing IntelliJ Idea's proxy (in Settings -> System Settings -> Http Proxy) but when spring boot app tries to access external API "UnknownHostException" occurs.
Are there any mechanism to configure socks proxy without making any code change?


Configure Spring to run without web services

I want to create Spring Boot project which runs without web services because I need to use it to process Kafka messages, SQL queries and webflux client.
Is it possible to disable the rest API functionality and to disable tomcat from exposing server on the network?

spring boot rest API got blocked

I'm not very familiar with network configuration. I have an API server developed on spring boot with CORS enabled. The server works fine on the external network. But when I try to call API from the internal network, it got blocked, is there a way to resolve this problem in spring boot without changing network's configuration?

Debugging Rest Controller in Spring boot application

I am deploying a spring boot, service broker application for CF. The application defines multiple rest controllers ( for the different service broker endpoints that has to be implemented ).
On testing the application locally and performing a http request using postman, the request is serviced by one of the thread of the runtime ( Please view the attachment ).
My breakpoints dont trigger and i am unable to debug the rest calls. I have changed the debug setting for the breakpoint from suspend Thread to Suspend VM but this does not help either. Please advise how we can debug such calls. I am using eclipse IDE with STS plugin installed.

How to configure spring boot admin client when authentication is enabled?

I'm trying to set up a sample application using spring boot admin (both server + client side) and have run into an issue with authentication.
When spring security is enabled on the management/actuator endpoints on the client side the spring-boot-admin server does not seem able to communicate with the client -- logging in to the Admin interface via a Web browser results in a continuous loop of authentication windows popping up and prompting for usernames/passwords. Hitting cancel will display an HTTP 401 error on the page.
Here's a configuration that works on the client side:
This will:
Disable security for spring-boot's management/actuator resource
Enable security for all other resources (HTTP basic auth - user: test, password: test)
Register the spring-admin client on startup using the url http://localhost:9081/admin (HTTP basic auth - user: admin, password:admin)
I'm guessing the spring boot admin app doesn't support communication with secured clients because I don't see any configuration properties that would allow the information to be passed in upon client registration.
Has anyone got around this limitation and if so, how? I'd rather not leave the actuator endpoints "open to the public" so-to-speak, even though they are actually just exposed on the company's internal network.
There is no security feature included since the various solutions look very different. But I've put up some examples: https://github.com/joshiste/spring-boot-admin-samples

Spring-WS server enable HTTPS/SSL

What is the best way to enable HTTPS calls for my web service server application?
I'm using Spring Boot and gradle.