Spring security between two spring boot rest web services without login -


hi new spring boot , spring security. have 2 rest web services running on different servers communicating each other. want make sure api calls made between 2 secured using http basic auth. of security demos/ examples found online involved login page authentication. there way popup of authentication login page. pointers appreciated. thanks.

if understand problem correctly, 1 application wants interact 1 on user's behalf.

you'll need first application send authentication token second one.

if you're using spring-security , checkout cas solution. sso implementation have out of box integration spring security. you'll interested in proxy ticket work flow. can find additional details on spring security cas page.

another solution can think of oath.here can find more details

the decision depends on architecture.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -