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 / December 2003

Tip: Looking for answers? Try searching our database.

User login credentials

Thread view: 
Mark F - 12 Dec 2003 17:58 GMT
Solaris 8
Java 1.4.2
Tomcat  4.0.6 (I know, I can't do anything about it yet)

I need to log someone in automatically to a local service (content
management server), and while I don't like the idea of doing so it is not my
decision to make so I'm trying to come up with the most secure
implementation as is possible (and practical).

The content management system will allow the administrator to create a
session for someone by proxy but you must first login as the content
management system administrator.  It just so happens that the content
management system user is the same as the tomcat user so the question
becomes can I, from within my class, get the login credentials of the tomcat
user?  I know I can get the name with System.getProperty but what about the
password?

Any other suggestions are welcome, I'm trying to avoid storing the password
for the content management system administrator on the filesystem.

-Mark
Robert - 15 Dec 2003 12:41 GMT
Don't know if you can do that.
I suggest you to create an user on your Solaris with a similar user name and
authenticate your content mgmt system user against it.

> Solaris 8
> Java 1.4.2
[quoted text clipped - 17 lines]
>
> -Mark


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.