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

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
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,938 views 19 22
Read article

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