Specifically, I need to know if the value of clientAuth in the Connector
for port 443 is set to true.
Here is my connector:
<Connector
port="443"
clientAuth="true"
scheme="https"
secure="true"
SSLEnabled="true"
maxThreads="200"
protocol="org.apache.coyote.http11.Http11NioProtocol"
useSendfile="false"
.
.
.
/>
So at runtime, can I read the value of clientAuth?
I tried:
String clientAuth = System.getProperty("clientAuth");
and
String clientAuthEnv = System.getenv("clientAuth");
They are both null. I expected that they would be null, but I just want
you to know I tried something.
I'm sure I could read the server.xml file in a servlet as a basic file,
but if it were changed after Tomcat started up, its contents would not
represent what Tomcat was configured with when it was started.
Thanks,
Jerry
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 151217-1, 12/17/2015
Tested on: 12/17/2015 3:32:44 PM
avast! - copyright (c) 1988-2015 AVAST Software.
https://www.avast.com/antivirus
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org