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

Mark Davison July 9, 2013

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 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2013

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

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

vkharisma
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 10, 2013

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


Thanks!

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2013

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.


vkharisma
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 11, 2013

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

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2013

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

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2013

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

Mark Davison July 23, 2013

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