Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login authentication code should be inputted in Servlet or in a Listener class?

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Login authentication code should be inputted in Servlet or in a Listener class??
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64713
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think and why?
 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Login authentication has some business logic in it.Hence i assume it has to be coded in servlets .


But also i think authentication code should be loaded before starting the actual application.

Not sure whats the correct answer but I am tending more towards Servlets...Is it correct?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic