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 / Security / April 2004

Tip: Looking for answers? Try searching our database.

Implementing security

Thread view: 
Enrique Gonz?lez - 25 Mar 2004 21:54 GMT
   I'm developing an application, which has a connection with a database,
in whicth I hava a table with users, passwords and profiles for each user.

   What I want is to implement my security with this table, I know that
it's possible to indicate to de J2EE server in which table are the users and
passwords, but I don't know how.

   If someone knows how to do it or have a guide...

   Thanks to all.

   Enrique
   egserrano(nospam)@terra(nospam).es(nospam)
Duncan Eley - 04 Apr 2004 14:14 GMT
On Thu, 25 Mar 2004 20:54:00 GMT, "Enrique González"
<egserrano@terra.es> wrote:

>    I'm developing an application, which has a connection with a database,
>in whicth I hava a table with users, passwords and profiles for each user.
[quoted text clipped - 9 lines]
>    Enrique
>    egserrano(nospam)@terra(nospam).es(nospam)

Hello Enrique,

I am making the assumption from your post that your application is a
Web application and you are using container-managed authentication. If
so...

Configuring your application to interface with user accounts, in your
case in a database table, is non-standard and typically different for
each application server or Web container. Your user account table may
also need to follow certain rules as specified by the application
server or Web container you are using.

For the Tomcat 5.0 Web container, the documentation for configuring
user authentication against a database can be found here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#JDBCRealm.
If you are using a different server you will need to refer to its
documentation.

Regards,

Duncan Eley
duncan.eleyREM@VEbcs.org.uk


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.