We have a REST application which uses BASIC authentication and users for our application are configured in tomcat-users.xml. We wanted to develop Angular web UI which make use of REST application as backend. How can we implement login and logout mechanism for angular UI As REST is stateless how can we achieve this?
As part of my analysis I have explored JWT authentication mechanism with which we cannot achieve proper Logout mechanism apart of removing the token from client.
Could someone share some ideas to workout this integration to implement proper Login and Logout mechanism.