Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

form authentication completion  RSS feed

 
Ranch Hand
Posts: 2080
  • 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?
 
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
 
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: 2080
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
[ September 30, 2006: Message edited by: Jesus Angeles ]
 
a wee bit from the empire
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!