Link Details

Link 1030553 thumbnail
User 1035345 avatar

By srccodes
via srccodes.com
Published: Sep 11 2013 / 10:53

In HTTP basic authentication (BA), when a web client requests any secured web resources, server sends an HTTP response with status code 401 (Unauthorized) and WWW-Authenticate HTTP header like WWW-Authenticate: Basic realm="realm here". And browser pops up a login dialog prompting for User name and Password for that realm. This example shows how to configure HTTP basic authentication using Spring Security framework.
  • 9
  • 0
  • 857
  • 829

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java