Results 1 to 2 of 2

Thread: Multi-stage login

  1. #1
    Join Date
    Nov 2004
    Location
    London
    Posts
    3

    Default Multi-stage login

    Hi,

    I'm wondering if acegi does/could support multiple-stage logins. That is, I'd like to put it in a webapp container and present the user with:

    #1 - Request username and password.
    #2 - Request secure key code for the day (for example)
    #3 - Display requested secure page.

    I've set up acegi for another project that had a single-stage login, and I'm very happy with it, so I'd quite to put it in this new project if I can. Any ideas?

    Oh, and is there a preferred buzzword for multiple-stage login? I can't find anything about this google and I suspect it's because I don't have the popular term...

    Cheers,
    Kris

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    You'd be best off developing a custom AuthenticationProcessingFilter that prompted for all three properties (username, password, token code) and then present that to a custom DaoAuthenticationProvider. The latter contains an isPasswordCorrect and createSuccessAuthentication method to assist with such customisation.

Similar Threads

  1. Replies: 5
    Last Post: Aug 15th, 2006, 08:40 AM
  2. acegi + CAS going in loop after login
    By mcecca in forum Security
    Replies: 3
    Last Post: Sep 30th, 2005, 02:56 PM
  3. message if login fails
    By elLord in forum Web
    Replies: 5
    Last Post: Feb 17th, 2005, 09:41 AM
  4. Creating Custom CAS Login
    By jpwinans in forum Security
    Replies: 5
    Last Post: Feb 8th, 2005, 09:58 PM
  5. Acegi - Login Tapestry
    By john017 in forum Security
    Replies: 1
    Last Post: Feb 4th, 2005, 01:11 AM

Posting Permissions

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