Lines 69-74
Link Here
|
69 |
protected boolean clientAuth = true; |
69 |
protected boolean clientAuth = true; |
70 |
protected boolean authenticate = true; |
70 |
protected boolean authenticate = true; |
71 |
protected String passwordFile = null; |
71 |
protected String passwordFile = null; |
|
|
72 |
protected String loginModuleName = null; |
72 |
protected String accessFile = null; |
73 |
protected String accessFile = null; |
73 |
protected boolean useLocalPorts = false; |
74 |
protected boolean useLocalPorts = false; |
74 |
|
75 |
|
Lines 164-169
Link Here
|
164 |
accessFile = System.getProperty( |
165 |
accessFile = System.getProperty( |
165 |
"com.sun.management.jmxremote.access.file", |
166 |
"com.sun.management.jmxremote.access.file", |
166 |
"jmxremote.access"); |
167 |
"jmxremote.access"); |
|
|
168 |
|
169 |
loginModuleName = System.getProperty( |
170 |
"com.sun.management.jmxremote.login.config"); |
167 |
} |
171 |
} |
168 |
|
172 |
|
169 |
|
173 |
|
Lines 209-214
Link Here
|
209 |
if (authenticate) { |
213 |
if (authenticate) { |
210 |
env.put("jmx.remote.x.password.file", passwordFile); |
214 |
env.put("jmx.remote.x.password.file", passwordFile); |
211 |
env.put("jmx.remote.x.access.file", accessFile); |
215 |
env.put("jmx.remote.x.access.file", accessFile); |
|
|
216 |
env.put("jmx.remote.x.login.config", loginModuleName); |
212 |
} |
217 |
} |
213 |
|
218 |
|
214 |
|
219 |
|