equal
deleted
inserted
replaced
71 int life = AccessController.doPrivileged( |
71 int life = AccessController.doPrivileged( |
72 new GetIntegerAction("jdk.tls.stapling.cacheLifetime", |
72 new GetIntegerAction("jdk.tls.stapling.cacheLifetime", |
73 DEFAULT_CACHE_LIFETIME)); |
73 DEFAULT_CACHE_LIFETIME)); |
74 cacheLifetime = life > 0 ? life : 0; |
74 cacheLifetime = life > 0 ? life : 0; |
75 |
75 |
76 String uriStr = |
76 String uriStr = GetPropertyAction |
77 GetPropertyAction.getProperty("jdk.tls.stapling.responderURI"); |
77 .privilegedGetProperty("jdk.tls.stapling.responderURI"); |
78 URI tmpURI; |
78 URI tmpURI; |
79 try { |
79 try { |
80 tmpURI = ((uriStr != null && !uriStr.isEmpty()) ? |
80 tmpURI = ((uriStr != null && !uriStr.isEmpty()) ? |
81 new URI(uriStr) : null); |
81 new URI(uriStr) : null); |
82 } catch (URISyntaxException urise) { |
82 } catch (URISyntaxException urise) { |