• Post Reply Bookmark Topic Watch Topic
  • New Topic

form authentication completion  RSS feed

 
Jesus Angeles
Ranch Hand
Posts: 2070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if FORM is the type of authentication, in j2ee,

when the authentication is done, e.g. logon is successful,

is the control passed back automatically to the originally requested jsp/servlet? or the logon form must specifically/hardcodedly dispatch to the original jsp, thereby, the logon form must know specifically where to proceed after authentication?
 
Renato Losio
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First one you said. You don't need to handle the logic from the login form.

Cheers.

Renato
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can externalize the location where you want to go after the login is successful.You can have this as a string in a property file or any other file that your application uses for external configuring properties.And read this value from the proprty before forwarding in case of successful login.
 
Jesus Angeles
Ranch Hand
Posts: 2070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
[ September 30, 2006: Message edited by: Jesus Angeles ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!