• Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple Security

 
Mike Panahil
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi � what is an easy way to do security for login? Need is not that tight. Assume user identies are stored in a properties file or db � that part is easy.

I was thinking that a session bean for the user info, but where/how do I check it?

Thanks.
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would just use the j2ee container form based security. For instance, tomcat could just use the tomcat_user xml file. All that needs to happen is to provide a login page in the web.xml descriptor and forward to form to j_securitycheck.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GoGoMax,

Welcome to Javaranch! We don't have too many rules around here but we do have a Naming Policy. Please adjust your display name accordingly. You can adjust your display name here.

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!