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

ios - iPhone/iPad different view orientations in different views , and apple approval process -

monitor web browser programmatically in Android? -

c# - Using multiple datasets in RDLC -