Stephan van Hulst wrote:Typically this is done by middleware in the request processing pipeline of your web application framework. Most web application frameworks have already implemented this middleware. For instance, Spring has the Spring Security project which includes in-memory authentication.
What framework are you using to develop your web application?
Thanks. I don't think I have a framework equivalent to Spring. This is some of my tech stack:
Wildfly 10
Hibernate 5
Postgres 9
Weld
RESTEasy JaxRS
AngularJS 1
Java 8
Can I add only Spring Security to my project?