Results 1 to 2 of 2

Thread: Manual Authentication

  1. #1
    Join Date
    Oct 2006
    Posts
    13

    Default Manual Authentication

    Hi,

    Heres the scenario, I have 2 we applications, say WebApp1 and WebApp2. WebApp2 uses Spring and Acegi, whereas WebApp1 is a simple web application. The user can directly login to WebApp2 and give his username and password where his credentials will be authenticated using Acegi framework. The user can as well try to login to WebApp2 via WebApp1, in this case what I planned to do is, get the username and password from WebApp1 and forward it WebApp2(as a QueryString).

    Now, in WebApp2 how can I manually authenticate the user given that I have the username and password.

    Please help me out with this or atleast point to where I can get more info abt it.

    Thx in advance.

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    If you have the username and password, you could do the same thing that form authentication would do. e.g. add the variables as request parameters. You might want to look at Basic authentication however.
    http://www.acegisecurity.org/docbook/acegi.html#form
    http://www.acegisecurity.org/docbook/acegi.html#basic
    Last edited by karldmoore; Aug 27th, 2007 at 02:28 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •