Answer the question
In order to leave comments, you need to log in
How normal is it to use a Servlet for Angular Authorization?
public class LoginServlet extends HttpServlet {
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
}
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
request.login(....);
}
}
Answer the question
In order to leave comments, you need to log in
If something is serious, then so-so. Better Spring Security + JWT
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question