2
votes

I have a Spring 4 MVC/REST application using AngularJS as the client side technology & Spring data mongoDB as server side.
I want to secure the application. All examples I see are based on Spring Boot .

Q1) Is it possible to secure a Spring 4 application without Spring Boot ? Q2) Is it possible to just include Sprint Boot for security alone in my Spring 4 application , so that we don't need to recode everything based on Spring Boot ?

Could you point me to some samples ?

2

2 Answers

3
votes
  • Q1) of course
  • Q2) I dot think that this is a good idea (but I am not sure weather I understood your question right)

Have a look at the Spring Security Reference Documentation, it is Boot free:

Examples: Google "spring security 4 configuration example":

0
votes

All you need is Spring Security not Spring Boot. for securing your application the best way to learn is start by reading reference documentation