Jira: prevent outbound proxy user information from appearing in the process listings

Anyone know how to prevent outbound proxy user information from appearing in the process listings?

when running ps -ef, you see something like this:

/opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -XX:MaxPermSize=256m -Xms2048m -Xmx2048m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dhttp.proxyHost=<PROXY_HOST> -Dhttp.proxyPort=<PORT> -Dhttp.nonProxyHosts=<LIST> -Djava.proxyUser=<PROXY_USER> -Djava.proxyPassword=<PROXY_PASSWORD> -Dhttp.auth.ntlm.domain=<DOMAIN> -XX:+PrintGCDateStamps -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/atlassian/jira/endorsed -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start

Thanks

1 answer

This widget could not be displayed.

You can put these properties in jira-config.properties.

EDIT: Cancel this answer, it doesn't work.

Hi Jamie, can you provide us with the property name to define the proxy configuration (proxyUser and proxyPassword) in jira-config.properties?


Thanks!

It's just the same as in the command line:

java.proxyPassword=<PROXY_PASSWORD>

I wondered if you could only put properties in there that are listed in jpm.xml, but I tested it and it worked fine.


perfect! i'll create a kb out of this. thanks jamie.

Btw, Mark has put java.proxyPassword in his example, but afaik it is http.proxyPassword.

Sorry, I tested this again and it didn't work. But there should be a way to put properties in a file.

I've not had any success with this yet. But thanks for your suggestion Jamie.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

268 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you