• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

password protection

 
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I wanted to find out more info on how web based username/password authentication is done, you know the ones they use at Yahoo! or any other password protected site. Is this does strictly through JDBC and cookies or something else is involved?
I just need some articles that I can read about this.
thanks,
Alex
 
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you look at the security section of Sun's j2ee "Blueprints" document you see the concepts of authentication and authorization. Basically, you initial login must authenticate the user (i.e. prove that they are who they say they are). This generally means a call to a data store of some sort to compare the u/p with the db. After this, implementations vary on how to store a flag or login id or the actual user id somewhere for future reference (like checking to see if the user is login before they post to a newsgroup). This is authorization. For servlets you'd generally use the seesion object for that user or explicitly use a cookie yourself.
Sean
 
reply
    Bookmark Topic Watch Topic
  • New Topic