rest - RESTful Webservices - Basic Auth in Spring MVC 3.x -


we developing restful webservices using spring mvc 3.x. wondering best way implement basic auth. note not want use spring security. want use regular basic auth.

each request should authenticated. no state maintained. regular u/p authentication , credentials validated against database.

  • i thinking of using interceptors. every request server first go through interceptor. best practice?
  • i not sure filters. same interceptors?
  • any other better way implement this? industry standard implementation?
  • what use cases interceptors / filters, if these 2 different?

thoughts? much!


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -