简体   繁体   中英

Spring Security + Angular JS + Spring MVC Rest

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.

Finally found the way to do this. Clearly explained, step by step process to secure a Spring MVC based REST APIs using Spring Security

https://malalanayake.wordpress.com/2014/06/30/stateless-spring-security-on-rest-api/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM