Passing password from shell script to Java
843859Apr 5 2007 — edited Apr 9 2007Hi there,
I have a shell script which has user id and password stored in variables. I call a java program from this shell script. I tried accessing this environment variable from java using system.getproperty and java is not getting the values. I have used export USERID PASSWORD
and java classname to call it.
I do not want to pass it as arguments because of security reasons. can anybody help me please.
Thanks a bunch.