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. Advertising

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,186
    Nicole Calinoiu
    Jun 8, 2005
  2. Jeff Rodriguez
    Replies:
    23
    Views:
    1,212
    David Schwartz
    Dec 9, 2003
  3. Replies:
    0
    Views:
    551
  4. Mark D.
    Replies:
    0
    Views:
    247
    Mark D.
    Aug 11, 2004
  5. Wizard!

    Passing user credentials to another server...?

    Wizard!, Nov 23, 2005, in forum: ASP .Net Security
    Replies:
    2
    Views:
    173
    Ken Schaefer
    Nov 28, 2005
Loading...

Share This Page