Announcement Announcement Module
No announcement yet.
Remote authentication over HTTP - Basic Auth Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remote authentication over HTTP - Basic Auth

    Hi all,

    Quick question, I hope!

    I am in the process of wiring up authentication between two web app's (A, B). My web app (A) uses spring security 3, I would like to configure it to delegate all authentication requests onto a second web application (B). Web app B is a simple servelet secured via basic auth. Therefore login credentials from A should form a new HTTP request with credentials to B and the returned status headers should inform A of the authentication decision.

    Before I implement my own AuthenticationProvider to create these requests to web app B, could I re-use an existing implementation perhaps RemoteAuthenticationProvider? Or, is this intended for other purposes.

    Any help appreciated.

    Many thanks,

    Last edited by NigelVT; Aug 10th, 2010, 03:23 PM.

  • #2

    No response, or views...

    I have decided to extend
    and implemented retrieveUser to handle the authentication logic. Apache commons HttpClient manages the exchange of credentials to web app B over https using Basic Auth.

    How would go about unit testing the whole thing?