Announcement Announcement Module
Collapse
No announcement yet.
Manual Authentication Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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, 03:28 PM.

    Comment

    Working...
    X