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

0 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,189 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot