I have a spring boot back-end server application that implements basic authentication over https. Will not have a traditional web based front end, rather my android and IOS clients will be using Rest API calls.
The backend application is currently validating the username and password information received and is responding with the correct status messages (401, 200). Can I use spring boot session to have the user login at the start of the session and then use the session value for each subsequent rest api call for that session?
Realize this question is similar to [Spring boot rest security with android and ios but that question did not seem to cover caching and using the session value received for all additional Rest API calls for the session. Do I pass the session value as a parameter in Rest put and post API commands? Goal is to have the application verify the user is registered and validate their credentials before accepting additional rest put and post commands.
I did read the spring.io documentation but did not find this topic covered. Somewhat new to Spring boot.