Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Passing user credentials to child processes

Reply
Thread Tools

Passing user credentials to child processes

 
 
estadtherr@gmail.com
Guest
Posts: n/a
 
      09-28-2006
I have a Java application that requires a user to log in, at which time
the user is authenticated using the standard JAAS LoginContext. This
initial application needs to start a set of child processes (using
Runtime.exec()). These child processes need to inherit the user-based
credentials of the initial application, but I don't want the user to
have to type their username and password for every child process. Is
there a secure way for the child processes to inherit the
authentication results from the parent process? I've thought about
command line arguments and environment variables, but they all open the
child processes up to spoofing the credentials. Has anyone else solved
this issue?

Thanks!
-Eric

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing Python socket objects to child processes in Windows dan.jakubiec@gmail.com Python 0 01-23-2007 04:39 AM
"The credentials supplied conflict with an existing set of credentials" -=rjh=- NZ Computing 2 07-15-2006 11:09 PM
Passing User Credentials to site running under Integrated Security cdlipfert@hotmail.com ASP .Net 5 06-08-2005 01:00 PM
Passing user credentials from ASP.NET to Web Service Mark D. ASP .Net Security 0 08-11-2004 08:25 PM
How do I: Main thread spawn child threads, which child processes...control those child processes? Jeff Rodriguez C Programming 23 12-09-2003 11:06 PM



Advertisments