SOLR-10230: default TTL of PKIAuthenticationPlugin increased to 10secs

This commit is contained in:
Noble Paul 2017-03-06 10:09:01 +10:30
parent f49bd79ec1
commit fb1d2d1ae2
2 changed files with 4 additions and 2 deletions

View File

@ -285,7 +285,9 @@ Other Changes
* SOLR-10155: For numeric types facet.contains= and facet.prefix= are now rejected.
(Gus Heck, Christine Poerschke)
* SOLR-10171 Add Constant Reduction Rules to Calcite Planner (Kevin Risden)
* SOLR-10171: Add Constant Reduction Rules to Calcite Planner (Kevin Risden)
* SOLR-10230: default TTL of PKIAuthenticationPlugin increased to 10secs (noble)
================== 6.4.2 ==================

View File

@ -63,7 +63,7 @@ public class PKIAuthenticationPlugin extends AuthenticationPlugin implements Htt
private final Map<String, PublicKey> keyCache = new ConcurrentHashMap<>();
private final CryptoKeys.RSAKeyPair keyPair = new CryptoKeys.RSAKeyPair();
private final CoreContainer cores;
private final int MAX_VALIDITY = Integer.parseInt(System.getProperty("pkiauth.ttl", "5000"));
private final int MAX_VALIDITY = Integer.parseInt(System.getProperty("pkiauth.ttl", "10000"));
private final String myNodeName;
private final HttpHeaderClientInterceptor interceptor = new HttpHeaderClientInterceptor();
private boolean interceptorRegistered = false;