Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I am trying to build a web application with the following frameworks:

  • Angular JS on the front end
  • REST Web Services in the backend using Spring MVC

I want to use Spring Security to authenticate all the requests going from Angular JS to Spring REST Web services. I also need to manage the session timeout/remember password etc. (All of the typical functionalities of a login functionality in a web app)

I have gone over hundreds of articles trying to find out how to do this but none of them is exactly serving the purpose I am asking for.

Any help on this (inline answer or external links) with detailed steps is highly appreciated.

(Note: I don't want to use Spring boot. Many tutorials including the one provided by Spring is using Spring boot.)

share|improve this question
    
If this helps : stackoverflow.com/a/33751988/1679484 – Amit Parashar 16 hours ago
    
@AmitParashar this article doesnt talk about Spring security at all. – Naveen P.G. 15 hours ago
    
Spring security layer does not need special configuration for angular js generated requests.Try to set up a simple web project with spring security andspring MVC first, and then incorporate changes to introduce AngularJS in your project. – Amit Parashar 15 hours ago
    
@AmitParashar I cant find a good example to do that as well!! As I am using REST webservices using MVC. – Naveen P.G. 15 hours ago
    

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.