Results 1 to 3 of 3

Thread: Multi step login

  1. #1
    Join Date
    Aug 2009
    Posts
    16

    Default Multi step login

    I am planning to use spring security for a site having multi step login.
    Page 1 (get userid&password)
    Page 2 (can be seen if page 1 info is correct) (display security image)
    Page 3 (get pin)

    So the real authentication can only be done after Page 3.
    After all credentials are collected then the request will be redirected and security filter will catch that request and authentication will be done. Till that point the filter will not catch any requests.

    Where should the credentials and other user info be kept till page 3 request is done? Session can be used. Can they be kept in SecurityContext Authentication object as well, is it a good approach? Or to use SecurityContext Authentication object should we wait till the user is authenticated?

  2. #2

    Default

    yes u can use the session , but it is no good practice to use Security context object

  3. #3
    Join Date
    Aug 2009
    Posts
    16

    Default

    Thanks for the reply.
    If some custom roles are used for login pages do you think there is still major risks? And what do you think major risks are?

    Are there anyone in this group who implemented web app with multi step login pages, if there is an you please share your knowledge?

Posting Permissions

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