Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Form-based authentication confusion

Thread view: 
Chris - 14 Apr 2006 02:44 GMT
I would like to put some of our web pages in a password-protected directory.
If a user logs in, then he or she gets access to the directory. We have a
table of users in a database table.

I'm trying to use form-based authentication. I've googled around and read a
handful of articles about it, but the piece they all seem to be missing is
how to use information in the database to tell the container that a
particular user is authorized. There appear to be different servlet
container-specific mechanisms (like Tomcat realms, etc?.) but I need
something which works across containers. How can I tell the container, using
Java code in my JSP, that a particular user is authorized?
josh.s17@gmail.com - 15 Apr 2006 23:24 GMT
I don't think there is a standard way of doing what you asking. The
J2EE standards define how to specify form-based authentication in but
the container is free to define it's own way of configuring user
information whether it be configuration files like Tomcat or LDAP
groups  in Webpshere...


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.