Passing user credentials to child processes

Discussion in 'Java' started by estadtherr@gmail.com, Sep 28, 2006.

  1. Guest

    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
     
    , Sep 28, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    3,343
    Nicole Calinoiu
    Jun 8, 2005
  2. Chris

    Spawning child processes

    Chris, Jul 29, 2003, in forum: C Programming
    Replies:
    2
    Views:
    436
    Chris
    Jul 30, 2003
  3. Jeff Rodriguez
    Replies:
    23
    Views:
    1,519
    David Schwartz
    Dec 9, 2003
  4. Markus Franz
    Replies:
    1
    Views:
    715
    Jeff Epler
    Apr 22, 2004
  5. Replies:
    0
    Views:
    610
  6. Mark D.
    Replies:
    0
    Views:
    318
    Mark D.
    Aug 11, 2004
  7. Wizard!

    Passing user credentials to another server...?

    Wizard!, Nov 23, 2005, in forum: ASP .Net Security
    Replies:
    2
    Views:
    261
    Ken Schaefer
    Nov 28, 2005
  8. Marc Heiler
    Replies:
    1
    Views:
    363
    Robert Klemme
    May 24, 2009
Loading...