user2428795
user2428795

Reputation: 547

Spring REST service.. How do I secure REST calls I am making in Spring MVC

Spring REST service.. How do I secure REST calls I am making in Spring MVC..

I am working on a Spring MVC web project and we are thinking about moving some of the backend calls to REST service so we can use the same calls on a number of platforms but how do we make them secure?

Upvotes: 2

Views: 2935

Answers (1)

Michael-O
Michael-O

Reputation: 18430

  1. Use HTTPS
  2. Use Spring Security with HTTP-header-based authentication

Official examples: https://github.com/SpringSource/spring-security/tree/master/samples

Upvotes: 4

Related Questions