This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Things in mind while designing a secure, standard login system in J2EE  RSS feed

 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Things in mind while designing a secure, standard login system in J2EE
Help with some code snippets would be good.
Thanks in Advance
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most important thing is: don't do it. Getting security right is hard, and chances are you would end up with an insecure system if you implement one yourself. Use whatever facilities are provided by the container (JEE or servlet) as much as possible, and if you need functionalities beyond those, check out existing solutions such as Apache Shiro.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!