Apache Solr open-source search software
SOLR-15423 JWTAuthPlugin support for custom truststore (#139)
Jan Høydahl11ce8b8b2770
diff --git a/gradle/testing/randomization/policies/solr-tests.policy b/gradle/testing/randomization/policies/solr-tests.policyindex 5330bb205ca..b9137a81adb 100644--- a/gradle/testing/randomization/policies/solr-tests.policy+++ b/gradle/testing/randomization/policies/solr-tests.policy@@ -140,6 +140,9 @@ grant {permission java.security.SecurityPermission "putProviderProperty.SaslPlainServer";permission java.security.SecurityPermission "insertProvider";+ // Needed by JWT integration tests+ permission java.lang.RuntimePermission "setFactory";+permission javax.xml.bind.JAXBPermission "setDatatypeConverter";// SSL related properties for Solr testsdiff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 9ff4c91a62b..bd62b6fcccf 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -43,6 +43,8 @@ New Features* SOLR-15277: Schema Designer UI (Timothy Potter, Kiran Chitturi)+* SOLR-15423: JWTAuthPlugin now supports separate config for what SSL certs to trust when talking to IdPs (janhoy)+Improvements----------------------* LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (Andy Hind via Anshum Gupta)@@ -147,7 +149,7 @@ Other Changes* SOLR-10288: Remove non-minified JavaScript from the webapp. (Erik Hatcher, marcussorealheis)-* SOLR-13655:Upgrade Collections.unModifiableSet to Set.of and Set.copyOf (Atri Sharma via Tomás Fernández Löbbe)+* SOLR-13655: Upgrade Collections.unModifiableSet to Set.of and Set.copyOf (Atri Sharma via Tomás Fernández Löbbe)* SOLR-13797: SolrResourceLoader no longer caches bad results when asked for wrong type (Mike Drob)diff --git a/solr/core/build.gradle b/solr/core/build.gradleindex 7cafbadfd13..0201665d22f 100644--- a/solr/core/build.gradle+++ b/solr/core/build.gradle@@ -149,5 +149,12 @@ dependencies {testImplementation('org.mockito:mockito-core', {exclude group: "net.bytebuddy", module: "byte-buddy-agent"})+ testImplementation('no.nav.security:mock-oauth2-server', {+ exclude group: "ch.qos.logback", module: "logback-core"+ exclude group: "io.netty", module: "netty-all"+ exclude group: "junit", module: "junit"+ exclude group: "ch.qos.logback", module: "logback-classic"+ exclude group: "org.slf4j", module: "slf4j-api"+ })}diff --git a/solr/core/src/java/org/apache/solr/security/JWTAuthPlugin.java b/solr/core/src/java/org/apache/solr/security/JWTAuthPlugin.javaindex 5306701a40d..dec6a1edd1d 100644--- a/solr/core/src/java/org/apache/solr/security/JWTAuthPlugin.java+++ b/solr/core/src/java/org/apache/solr/security/JWTAuthPlugin.java@@ -16,29 +16,8 @@*/package org.apache.solr.security;-import javax.servlet.FilterChain;-import javax.servlet.http.HttpServletRequest;-import javax.servlet.http.HttpServletResponse;-import java.io.IOException;-import java.lang.invoke.MethodHandles;-import java.nio.charset.StandardCharsets;-import java.security.Principal;-import java.time.Instant;-import java.util.ArrayList;-import java.util.Arrays;-import java.util.Collections;-import java.util.HashMap;-import java.util.HashSet;-import java.util.List;-import java.util.Map;-import java.util.Objects;-import java.util.Optional;-import java.util.Set;-import java.util.StringTokenizer;-import java.util.regex.Pattern;-import java.util.stream.Collectors;-import com.google.common.collect.ImmutableSet;+import org.apache.commons.io.IOUtils;import org.apache.http.HttpHeaders;import org.apache.http.HttpRequest;import org.apache.http.client.protocol.HttpClientContext;@@ -51,7 +30,9 @@ import org.apache.solr.common.util.Base64;import org.apache.solr.common.util.CommandOperation;import org.apache.solr.common.util.Utils;import org.apache.solr.common.util.ValidatingJsonMap;+import org.apache.solr.core.CoreContainer;import org.apache.solr.security.JWTAuthPlugin.JWTAuthenticationResponse.AuthCode;+import org.apache.solr.util.CryptoKeys;import org.eclipse.jetty.client.api.Request;import org.jose4j.jwa.AlgorithmConstraints;import org.jose4j.jwk.HttpsJwks;@@ -65,6 +46,34 @@ import org.jose4j.lang.JoseException;import org.slf4j.Logger;import org.slf4j.LoggerFactory;+import javax.servlet.FilterChain;+import javax.servlet.http.HttpServletRequest;+import javax.servlet.http.HttpServletResponse;+import java.io.IOException;+import java.io.InputStream;+import java.lang.invoke.MethodHandles;+import java.nio.charset.StandardCharsets;+import java.nio.file.Files;+import java.nio.file.Path;+import java.nio.file.Paths;+import java.security.Principal;+import java.security.cert.X509Certificate;+import java.time.Instant;+import java.util.ArrayList;+import java.util.Arrays;+import java.util.Collection;+import java.util.Collections;+import java.util.HashMap;+import java.util.HashSet;+import java.util.List;+import java.util.Map;+import java.util.Objects;+import java.util.Optional;+import java.util.Set;+import java.util.StringTokenizer;+import java.util.regex.Pattern;+import java.util.stream.Collectors;+/*** Authenticaion plugin that finds logged in user by validating the signature of a JWT token*/@@ -83,6 +92,8 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,private static final String PARAM_REDIRECT_URIS = "redirectUris";private static final String PARAM_ISSUERS = "issuers";private static final String PARAM_REALM = "realm";+ private static final String PARAM_TRUSTED_CERTS_FILE = "trustedCertsFile";+ private static final String PARAM_TRUSTED_CERTS = "trustedCerts";private static final String DEFAULT_AUTH_REALM = "solr-jwt";private static final String CLAIM_SCOPE = "scope";@@ -94,6 +105,7 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,PARAM_PRINCIPAL_CLAIM, PARAM_REQUIRE_EXPIRATIONTIME, PARAM_ALG_WHITELIST,PARAM_JWK_CACHE_DURATION, PARAM_CLAIMS_MATCH, PARAM_SCOPE, PARAM_REALM, PARAM_ROLES_CLAIM,PARAM_ADMINUI_SCOPE, PARAM_REDIRECT_URIS, PARAM_REQUIRE_ISSUER, PARAM_ISSUERS,+ PARAM_TRUSTED_CERTS_FILE, PARAM_TRUSTED_CERTS,// These keys are supported for now to enable PRIMARY issuer config through top-level keysJWTIssuerConfig.PARAM_JWKS_URL, JWTIssuerConfig.PARAM_JWK, JWTIssuerConfig.PARAM_ISSUER,JWTIssuerConfig.PARAM_CLIENT_ID, JWTIssuerConfig.PARAM_WELL_KNOWN_URL, JWTIssuerConfig.PARAM_AUDIENCE,@@ -114,12 +126,20 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,private List<JWTIssuerConfig> issuerConfigs;private boolean requireIssuer;private JWTVerificationkeyResolver verificationKeyResolver;+ private Collection<X509Certificate> trustedSslCerts;String realm;+ private final CoreContainer coreContainer;/*** Initialize plugin*/- public JWTAuthPlugin() {}+ public JWTAuthPlugin() {+ this(null);+ }++ public JWTAuthPlugin(CoreContainer coreContainer) {+ this.coreContainer = coreContainer;+ }@SuppressWarnings("unchecked")@Override@@ -130,7 +150,7 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,unknownKeys.remove("class");unknownKeys.remove("");if (!unknownKeys.isEmpty()) {- throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Invalid JwtAuth configuration parameter " + unknownKeys);+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Invalid JwtAuth configuration parameter " + unknownKeys);}blockUnknown = Boolean.parseBoolean(String.valueOf(pluginConfig.getOrDefault(PARAM_BLOCK_UNKNOWN, false)));@@ -155,8 +175,37 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,requiredScopes = Arrays.asList(requiredScopesStr.split("\\s+"));}+ // Parse custom IDP SSL Cert from either path or string+ InputStream trustedCertsStream = null;+ String trustedCertsFile = (String) pluginConfig.get(PARAM_TRUSTED_CERTS_FILE);+ String trustedCerts = (String) pluginConfig.get(PARAM_TRUSTED_CERTS);+ if (trustedCertsFile != null && trustedCerts != null) {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Found both " + PARAM_TRUSTED_CERTS_FILE + " and " + PARAM_TRUSTED_CERTS + ", please use only one");+ }+ if (trustedCertsFile != null) {+ try {+ Path trustedCertsPath = Paths.get(trustedCertsFile);+ if (coreContainer != null) {+ coreContainer.assertPathAllowed(trustedCertsPath);+ }+ trustedCertsStream = Files.newInputStream(trustedCertsPath);+ log.info("Reading trustedCerts from file {}", trustedCertsFile);+ } catch (IOException e) {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Failed to read file " + trustedCertsFile, e);+ }+ }+ if (trustedCerts != null) {+ log.info("Reading trustedCerts PEM from configuration string");+ trustedCertsStream = IOUtils.toInputStream(trustedCerts, StandardCharsets.UTF_8);+ }+ if (trustedCertsStream != null) {+ trustedSslCerts = CryptoKeys.parseX509Certs(trustedCertsStream);+ }+long jwkCacheDuration = Long.parseLong((String) pluginConfig.getOrDefault(PARAM_JWK_CACHE_DURATION, "3600"));- JWTIssuerConfig.setHttpsJwksFactory(new JWTIssuerConfig.HttpsJwksFactory(jwkCacheDuration, DEFAULT_REFRESH_REPRIEVE_THRESHOLD));++ JWTIssuerConfig.setHttpsJwksFactory(new JWTIssuerConfig.HttpsJwksFactory(+ jwkCacheDuration, DEFAULT_REFRESH_REPRIEVE_THRESHOLD, trustedSslCerts));issuerConfigs = new ArrayList<>();@@ -214,6 +263,7 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,}if (primary.isValid()) {log.debug("Found issuer in top level config");+ primary.setTrustedCerts(trustedSslCerts);primary.init();return Optional.of(primary);} else {@@ -250,6 +300,7 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,if (issuers != null) {issuers.forEach(issuerConf -> {JWTIssuerConfig ic = new JWTIssuerConfig(issuerConf);+ ic.setTrustedCerts(trustedSslCerts);ic.init();configs.add(ic);if (log.isDebugEnabled()) {@@ -583,7 +634,7 @@ public class JWTAuthPlugin extends AuthenticationPlugin implements SpecProvider,static class JWTAuthenticationResponse {private final Principal principal;private String errorMessage;- private AuthCode authCode;+ private final AuthCode authCode;private InvalidJwtException jwtException;enum AuthCode {diff --git a/solr/core/src/java/org/apache/solr/security/JWTIssuerConfig.java b/solr/core/src/java/org/apache/solr/security/JWTIssuerConfig.javaindex 79781e52100..c7e67bf1704 100644--- a/solr/core/src/java/org/apache/solr/security/JWTIssuerConfig.java+++ b/solr/core/src/java/org/apache/solr/security/JWTIssuerConfig.java@@ -17,6 +17,19 @@package org.apache.solr.security;+import com.google.common.annotations.VisibleForTesting;+import org.apache.commons.io.IOUtils;+import org.apache.solr.common.SolrException;+import org.apache.solr.common.util.Utils;+import org.jose4j.http.Get;+import org.jose4j.http.SimpleResponse;+import org.jose4j.jwk.HttpsJwks;+import org.jose4j.jwk.JsonWebKey;+import org.jose4j.jwk.JsonWebKeySet;+import org.jose4j.lang.JoseException;+import org.slf4j.Logger;+import org.slf4j.LoggerFactory;+import java.io.ByteArrayInputStream;import java.io.IOException;import java.io.InputStream;@@ -24,22 +37,16 @@ import java.lang.invoke.MethodHandles;import java.net.MalformedURLException;import java.net.URL;import java.nio.charset.Charset;+import java.nio.charset.StandardCharsets;+import java.security.cert.X509Certificate;import java.util.Arrays;+import java.util.Collection;import java.util.Collections;import java.util.HashMap;import java.util.List;import java.util.Map;import java.util.stream.Collectors;-import org.apache.solr.common.SolrException;-import org.apache.solr.common.util.Utils;-import org.jose4j.jwk.HttpsJwks;-import org.jose4j.jwk.JsonWebKey;-import org.jose4j.jwk.JsonWebKeySet;-import org.jose4j.lang.JoseException;-import org.slf4j.Logger;-import org.slf4j.LoggerFactory;-/*** Holds information about an IdP (issuer), such as issuer ID, JWK url(s), keys etc*/@@ -66,7 +73,8 @@ public class JWTIssuerConfig {private WellKnownDiscoveryConfig wellKnownDiscoveryConfig;private String clientId;private String authorizationEndpoint;-+ private Collection<X509Certificate> trustedCerts;+public static boolean ALLOW_OUTBOUND_HTTP = Boolean.parseBoolean(System.getProperty("solr.auth.jwt.allowOutboundHttp", "false"));public static final String ALLOW_OUTBOUND_HTTP_ERR_MSG = "HTTPS required for IDP communication. Please use SSL or start your nodes with -Dsolr.auth.jwt.allowOutboundHttp=true to allow HTTP for test purposes.";@@ -99,7 +107,11 @@ public class JWTIssuerConfig {throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Configuration is not valid");}if (wellKnownUrl != null) {- wellKnownDiscoveryConfig = fetchWellKnown(wellKnownUrl);+ try {+ wellKnownDiscoveryConfig = fetchWellKnown(new URL(wellKnownUrl));+ } catch (MalformedURLException e) {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Wrong URL given for well-known endpoint " + wellKnownUrl);+ }if (iss == null) {iss = wellKnownDiscoveryConfig.getIssuer();}@@ -174,8 +186,8 @@ public class JWTIssuerConfig {return webKeySet;}- private WellKnownDiscoveryConfig fetchWellKnown(String wellKnownUrl) {- return WellKnownDiscoveryConfig.parse(wellKnownUrl);+ private WellKnownDiscoveryConfig fetchWellKnown(URL wellKnownUrl) {+ return WellKnownDiscoveryConfig.parse(wellKnownUrl, trustedCerts);}public String getIss() {@@ -335,33 +347,58 @@ public class JWTIssuerConfig {return jwkConfigured > 0;}+ public void setTrustedCerts(Collection<X509Certificate> trustedCerts) {+ this.trustedCerts = trustedCerts;+ }++ @VisibleForTesting+ public Collection<X509Certificate> getTrustedCerts() {+ return this.trustedCerts;+ }+/****/static class HttpsJwksFactory {private final long jwkCacheDuration;private final long refreshReprieveThreshold;+ private Collection<X509Certificate> trustedCerts;public HttpsJwksFactory(long jwkCacheDuration, long refreshReprieveThreshold) {this.jwkCacheDuration = jwkCacheDuration;this.refreshReprieveThreshold = refreshReprieveThreshold;}-++ public HttpsJwksFactory(long jwkCacheDuration, long refreshReprieveThreshold, Collection<X509Certificate> trustedCerts) {+ this.jwkCacheDuration = jwkCacheDuration;+ this.refreshReprieveThreshold = refreshReprieveThreshold;+ this.trustedCerts = trustedCerts;+ }+/*** While the class name is HttpsJwks, it actually works with plain http formatted url as well.+ ** @param url the Url to connect to for JWK details.*/private HttpsJwks create(String url) {+ final URL jwksUrl;try {- URL jwksUrl = new URL(url);+ jwksUrl = new URL(url);checkAllowOutboundHttpConnections(PARAM_JWKS_URL, jwksUrl);-} catch (MalformedURLException e) {throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Url " + url + " configured in " + PARAM_JWKS_URL + " is not a valid URL");}HttpsJwks httpsJkws = new HttpsJwks(url);httpsJkws.setDefaultCacheDuration(jwkCacheDuration);httpsJkws.setRefreshReprieveThreshold(refreshReprieveThreshold);+ if (trustedCerts != null) {+ Get getWithCustomTrust = new Get();+ getWithCustomTrust.setTrustedCertificates(trustedCerts);+ if ("localhost".equals(jwksUrl.getHost())) {+ getWithCustomTrust.setHostnameVerifier((hostname, session) -> true);+ }+ httpsJkws.setSimpleHttpGet(getWithCustomTrust);+ }return httpsJkws;}@@ -375,28 +412,48 @@ public class JWTIssuerConfig {* Typically exposed through /.well-known/openid-configuration endpoint*/public static class WellKnownDiscoveryConfig {- private Map<String, Object> securityConf;+ private final Map<String, Object> securityConf;WellKnownDiscoveryConfig(Map<String, Object> securityConf) {this.securityConf = securityConf;}- public static WellKnownDiscoveryConfig parse(String urlString) {+ public static WellKnownDiscoveryConfig parse(String urlString) throws MalformedURLException {+ return parse(new URL(urlString), null);+ }++ /**+ * Fetch well-known config from a URL, with optional list of trusted certificates+ * @param url the url to fetch+ * @param trustedCerts optional list of trusted SSL certs. May be null to fall-back to Java's defaults+ * @return an instance of WellKnownDiscoveryConfig object+ */+ public static WellKnownDiscoveryConfig parse(URL url, Collection<X509Certificate> trustedCerts) {try {- URL url = new URL(urlString);if (!Arrays.asList("https", "file", "http").contains(url.getProtocol())) {- throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Well-known config URL must be one of HTTPS or HTTP or file");+ throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Well-known config URL must be one of HTTPS or HTTP or file");}checkAllowOutboundHttpConnections(PARAM_WELL_KNOWN_URL, url);- return parse(url.openStream());- } catch (MalformedURLException e) {- throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Well-known config URL " + urlString + " is malformed", e);+ if ("file".equals(url.getProtocol())) {+ return parse(url.openStream());+ } else {+ Get httpGet = new Get();+ if (trustedCerts != null) {+ httpGet.setTrustedCertificates(trustedCerts);+ if ("localhost".equals(url.getHost())) {+ httpGet.setHostnameVerifier((hostname, session) -> true);+ }+ }+ SimpleResponse resp = httpGet.get(url.toString());+ return parse(IOUtils.toInputStream(resp.getBody(), StandardCharsets.UTF_8));+ }} catch (IOException e) {- throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Well-known config could not be read from url " + urlString, e);+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Well-known config could not be read from url " + url, e);}}+ @VisibleForTestingpublic static WellKnownDiscoveryConfig parse(String json, Charset charset) {return parse(new ByteArrayInputStream(json.getBytes(charset)));}diff --git a/solr/core/src/java/org/apache/solr/security/JWTVerificationkeyResolver.java b/solr/core/src/java/org/apache/solr/security/JWTVerificationkeyResolver.javaindex 4a0ada0ca69..f3a9c8c504c 100644--- a/solr/core/src/java/org/apache/solr/security/JWTVerificationkeyResolver.java+++ b/solr/core/src/java/org/apache/solr/security/JWTVerificationkeyResolver.java@@ -42,6 +42,8 @@ import org.jose4j.lang.UnresolvableKeyException;import org.slf4j.Logger;import org.slf4j.LoggerFactory;+import javax.net.ssl.SSLHandshakeException;+/*** Resolves jws signature verification keys from a set of {@link JWTIssuerConfig} objects, which* may represent any valid configuration in Solr's security.json, i.e. static list of JWKs@@ -110,7 +112,12 @@ public class JWTVerificationkeyResolver implements VerificationKeyResolver {if (issuerConfig.usesHttpsJwk()) {keysSource = "[" + String.join(", ", issuerConfig.getJwksUrls()) + "]";for (HttpsJwks hjwks : issuerConfig.getHttpsJwks()) {- jsonWebKeys.addAll(hjwks.getJsonWebKeys());+ try {+ jsonWebKeys.addAll(hjwks.getJsonWebKeys());+ } catch (SSLHandshakeException e) {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,+ "Failed to connect with " + hjwks.getLocation() + ", do you have the correct SSL certificate configured?", e);+ }}} else {keysSource = "static list of keys in security.json";diff --git a/solr/core/src/java/org/apache/solr/util/CryptoKeys.java b/solr/core/src/java/org/apache/solr/util/CryptoKeys.javaindex 5980e28a1bf..406f36fa461 100644--- a/solr/core/src/java/org/apache/solr/util/CryptoKeys.java+++ b/solr/core/src/java/org/apache/solr/util/CryptoKeys.java@@ -16,6 +16,12 @@*/package org.apache.solr.util;+import com.google.common.collect.ImmutableMap;+import org.apache.solr.common.SolrException;+import org.apache.solr.common.util.Base64;+import org.slf4j.Logger;+import org.slf4j.LoggerFactory;+import javax.crypto.BadPaddingException;import javax.crypto.Cipher;import javax.crypto.IllegalBlockSizeException;@@ -33,20 +39,21 @@ import java.security.PrivateKey;import java.security.PublicKey;import java.security.Signature;import java.security.SignatureException;+import java.security.cert.Certificate;+import java.security.cert.CertificateException;+import java.security.cert.CertificateFactory;+import java.security.cert.X509Certificate;import java.security.spec.InvalidKeySpecException;import java.security.spec.PKCS8EncodedKeySpec;import java.security.spec.X509EncodedKeySpec;+import java.util.Collection;import java.util.HashMap;+import java.util.List;import java.util.Map;+import java.util.stream.Collectors;-import com.google.common.collect.ImmutableMap;-import org.apache.solr.common.SolrException;-import org.apache.solr.common.util.Base64;-import org.slf4j.Logger;-import org.slf4j.LoggerFactory;--/**A utility class to verify signatures- *+/**+ * A utility class with helpers for various signature and certificate tasks*/public final class CryptoKeys {private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());@@ -183,6 +190,28 @@ public final class CryptoKeys {return rsaCipher.doFinal(buffer, 0, buffer.length);}+ /**+ * Tries for find X509 certificates in the input stream in DER or PEM format.+ * Supports multiple certs in same stream if multiple PEM certs are concatenated.+ * @param certsStream input stream with the contents of either PEM (plaintext) or DER (binary) certs+ * @return collection of found certificates, else throws exception+ */+ public static Collection<X509Certificate> parseX509Certs(InputStream certsStream) {+ try {+ CertificateFactory cf = CertificateFactory.getInstance("X.509");+ Collection<? extends Certificate> parsedCerts = cf.generateCertificates(certsStream);+ List<X509Certificate> certs = parsedCerts.stream().filter(c -> c instanceof X509Certificate)+ .map(c -> (X509Certificate) c).collect(Collectors.toList());+ if (certs.size() > 0) {+ return certs;+ } else {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Wrong type of certificates. Must be DER or PEM format");+ }+ } catch (CertificateException e) {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Failed loading certificate(s) from input stream", e);+ }+ }+public static class RSAKeyPair {private final String pubKeyStr;private final PublicKey publicKey;diff --git a/solr/core/src/test-files/solr/security/jwt_plugin_idp_cert.pem b/solr/core/src/test-files/solr/security/jwt_plugin_idp_cert.pemnew file mode 100644index 00000000000..11744e8edde--- /dev/null+++ b/solr/core/src/test-files/solr/security/jwt_plugin_idp_cert.pem@@ -0,0 +1,46 @@+-----BEGIN CERTIFICATE-----+MIIEKDCCAxCgAwIBAgIJANvA408KXcSFMA0GCSqGSIb3DQEBCwUAMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTXlPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBMB4X+DTIxMDYwMzE1MDIyM1oXDTIyMDYwMzE1MDIyM1owZDELMAkGA1UEBhMCTk8xDTAL+BgNVBAgMBE9TTE8xETAPBgNVBAcMCEludGVybmV0MQ4wDAYDVQQKDAVNeU9yZzEM+MAoGA1UECwwDUiZEMRUwEwYDVQQDDAxTb2xyIFJvb3QgQ0EwggEiMA0GCSqGSIb3+DQEBAQUAA4IBDwAwggEKAoIBAQCnbrWbL/4GmmNBep++jQ55fu/5N3QyVNfpxHC7+x5E5AZTSOU9kwh2vwUwfOp9EsaHSKQu2TZYdq3c1gHUgwaMimSFfHofFOTcio03V+dOweGE+7ycoJbXWj74c+jujGnEBAfXzwvM3slf7bHtbRUQOwvwzbAsp2mR81jAJj+XwHmyseJgbTUsYYYmHd4UcDGUkeud/4uJD0AxBlpzf+UUdFTtSfmwurYtzadRbVv+hVGWLPIaZ+URwo/I3oTy1HZnDBQjou12wRwYh/+3Ls2CwRN/Lp2LrT+nGfnxvEhj+jZFC5k2+fNO9Hh8TVR4PoaPRbAZ6KyoOLu6XTtUVtibvT/mdAgMBAAGjgdwwgdkw+DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUwPv6mv2MylV47YKI/fJFSOpGbOow+gZYGA1UdIwSBjjCBi4AUwPv6mv2MylV47YKI/fJFSOpGbOqhaKRmMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTXlPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBggkA+28DjTwpdxIUwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4IBAQCkqzqX+jdb4FicAOBA2Z0nPd6hWZWbWyWfS+ol5R1BCxOvUjrnUSZwAgAu6kY/SHvTXHP5l+qXzXbox3TtJwFZwMUrR5nHfyZTpM6OBVn4rzhUURUijgOQiWboexk2qItnTzTWbj+tM/7rebwUQ/sNyifRSn2vk2wV1guBgfhfE+jXkdtOk2g3HpJTp/mwy3v1lwg1Icb+SCCtXc2zXX5K/MacdiNjiMzl9rC3nGlBPRzt/jLp7oIw04+SmP29ZwPE/DtHaXTo+kY7D8mbOqQDPhIOMvV2yOi/3VFvZUZelmws/riXTsHtBvc3SzWWB5ClkksP5hD/m+7h9IYFIUv6uw+Owm+-----END CERTIFICATE-----+-----BEGIN CERTIFICATE-----+MIIDhTCCAm2gAwIBAgIJAKQKBs1eUP8KMA0GCSqGSIb3DQEBCwUAMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTXlPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBMB4X+DTIxMDYwMzE1MDIyM1oXDTIyMDYwMzE1MDIyM1owZDELMAkGA1UEBhMCTk8xDTAL+BgNVBAgMBE9TTE8xFDASBgNVBAcMC1NvbHIgU2VydmVyMQ4wDAYDVQQKDAVNeU9y+ZzEMMAoGA1UECwwDUiZEMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3+DQEBAQUAA4IBDwAwggEKAoIBAQDhRvXDYCpui4VqP2aQHtUiOne1wPygvFuvtwhn+MjevkVbDYWGMWY7qS0/OuSOwd8hmNeh6r4/gkIasLBB5y8ttHgvCMf1nlDtbZc50+catHg6OKCTkagr903CvaS7cIGCNSN+YReESRk1KUkW2+y37yfGmV2LSSK9bNDghf+gIzEt/WjQ1DQLDKaRnOZFgTb1uBgqpKscarVWBZ7z1FqVhPlfs/ykHoRMHJuzzmS+b6m/dADMjCCwTRwrshofOQyaVVIhCITSem8TYrKSLVTD27RRdJXQ3uzKfMuqgNPo+SRYxrQCqUveKPd2488bxUZ4p68UaSPKpeMfW/jTcHCjNUXQtAgMBAAGjOjA4MBQG+A1UdEQQNMAuCCWxvY2FsaG9zdDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYB+BQUHAwEwDQYJKoZIhvcNAQELBQADggEBAFcKRH6pZ0zPlGHInvWUzPTMAbWO7/sr+In0vy5LB4iXDgov5iQsfRIR/MP0iajFcLVuJ4Onkrd7TBgDkCm7zA8lyTHIZMfor+aBE/8AKS+hBOyI5EmhRu0f/v5vVVt7O/g86wZ2xwV4Jq+g45zKZPIJsWVhSz8LEh+jU2MYIQtuic5hHEF+Ipe5seNo0JBC/njQLvFygXeD7BWP2dwpfY2MtzZP9Dqf36r+NGhjo6lfjdn+w4vhBlcpseJiBoe9IhDFDAY/CxrUNaL2b862BsmhyV9BuP/KhWQM+P0gPa0XmgbUOTdYu1qCdnmAENz8CbR9kQ0T+cBbE4ond52108BZaUZ8=+-----END CERTIFICATE-----diff --git a/solr/core/src/test-files/solr/security/jwt_plugin_idp_certs.p12 b/solr/core/src/test-files/solr/security/jwt_plugin_idp_certs.p12new file mode 100644index 00000000000..c00a7b29dc2Binary files /dev/null and b/solr/core/src/test-files/solr/security/jwt_plugin_idp_certs.p12 differdiff --git a/solr/core/src/test-files/solr/security/jwt_plugin_idp_invalidcert.pem b/solr/core/src/test-files/solr/security/jwt_plugin_idp_invalidcert.pemnew file mode 100644index 00000000000..d20d04aa96d--- /dev/null+++ b/solr/core/src/test-files/solr/security/jwt_plugin_idp_invalidcert.pem@@ -0,0 +1,46 @@+-----BEGIN CERTIFICATE-----+MIIEKDCCAxCgAwIBAgIJANvA408KXcSFMA0GCSqGSIb3DQEBCwUAMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTElPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBMB4X+DTIxMDYwMzE1MDIyM1oXDTIyMDYwMzE1MDIyM1owZDELMAkGA1UEBhMCTk8xDTAL+BgNVBAgMBE9TTE8xETAPBgNVBAcMCEludGVybmV0MQ4wDAYDVQQKDAVNeU9yZzEM+MAoGA1UECwwDUiZEMRUwEwYDVQQDDAxTb2xyIFJvb3QgQ0EwggEiMA0GCSqGSIb3+DQEBAQUAA4IBDwAwggEKAoIBAQCnbrWbL/4GmmNBep++jQ55fu/5N3QyVNfpxHC7+x5E5AZTSOU9kwh2vwUwfOp9EsaHSKQu2TZYdq3c1gHUgwaMimSFfHofFOTcio03V+dOweGE+7ycoJbXWj74c+jujGnEBAfXzwvM3slf7bHtbRUQOwvwzbAsp2mR81jAJj+XwHmyseJgbTUsYYYmHd4UcDGUkeud/4uJD0AxBlpzf+UUdFTtSfmwurYtzadRbVv+hVGWLPIaZ+URwo/I3oTy1HZnDBQjou12wRwYh/+3Ls2CwRN/Lp2LrT+nGfnxvEhj+jZFC5k2+fNO9Hh8TVR4PoaPRbAZ6KyoOLu6XTtUVtibvT/mdAgMBAAGjgdwwgdkw+DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUwPv6mv2MylV47YKI/fJFSOpGbOow+gZYGA1UdIwSBjjCBi4AUwPv6mv2MylV47YKI/fJFSOpGbOqhaKRmMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTXlPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBggkA+28DjTwpdxIUwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4IBAQCkqzqX+jdb4FicAOBA2Z0nPd6hWZWbWyWfS+ol5R1BCxOvUjrnUSZwAgAu6kY/SHvTXHP5l+qXzXbox3TtJwFZwMUrR5nHfyZTpM6OBVn4rzhUURUijgOQiWboexk2qItnTzTWbj+tM/7rebwUQ/sNyifRSn2vk2wV1guBgfhfE+jXkdtOk2g3HpJTp/mwy3v1lwg1Icb+SCCtXc2zXX5K/MacdiNjiMzl9rC3nGlBPRzt/jLp7oIw04+SmP29ZwPE/DtHaXTo+kY7D8mbOqQDPhIOMvV2yOi/3VFvZUZelmws/riXTsHtBvc3SzWWB5ClkksP5hD/m+7h9IYFIUv6uw+Owm+-----END CERTIFICATE-----+-----BEGIN CERTIFICATE-----+MIIDhTCCAm2gAwIBAgIJAKQKBs1eUP8KMA0GCSqGSIb3DQEBCwUAMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTXlPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBMB4X+DTIxMDYXMzE1MDIyM1oXDTIyMDYwMzE1MDIyM1owZDELMAkGA1UEBhMCTk8xDTAL+BgNVBAgMBE9TTE8xFDASBgNVBAcMC1NvbHIgU2VydmVyMQ4wDAYDVQQKDAVNeU9y+ZzEMMAoGA1UECwwDUiZEMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3+DQEBAQUAA4IBDwAwggEKAoIBAQDhRvXDYCpui4VqP2aQHtUiOne1wPygvFuvtwhn+MjevkVbDYWGMWY7qS0/OuSOwd8hmNeh6r4/gkIasLBB5y8ttHgvCMf1nlDtbZc50+catHg6OKCTkagr903CvaS7cIGCNSN+YReESRk1KUkW2+y37yfGmV2LSSK9bNDghf+gIzEt/WjQ1DQLDKaRnOZFgTb1uBgqpKscarVWBZ7z1FqVhPlfs/ykHoRMHJuzzmS+b6m/dADMjCCwTRwrshofOQyaVVIhCITSem8TYrKSLVTD27RRdJXQ3uzKfMuqgNPo+SRYxrQCqUveKPd2488bxUZ4p68UaSPKpeMfW/jTcHCjNUXQtAgMBAAGjOjA4MBQG+A1UdEQQNMAuCCWxvY2FsaG9zdDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYB+BQUHAwEwDQYJKoZIhvcNAQELBQADggEBAFcKRH6pZ0zPlGHInvWUzPTMAbWO7/sr+In0vy5LB4iXDgov5iQsfRIR/MP0iajFcLVuJ4Onkrd7TBgDkCm7zA8lyTHIZMfor+aBE/8AKS+hBOyI5EmhRu0f/v5vVVt7O/g86wZ2xwV4Jq+g45zKZPIJsWVhSz8LEh+jU2MYIQtuic5hHEF+Ipe5seNo0JBC/njQLvFygXeD7BWP2dwpfY2MtzZP9Dqf36r+NGhjo6lfjdn+w4vhBlcpseJiBoe9IhDFDAY/CxrUNaL2b862BsmhyV9BuP/KhWQM+P0gPa0XmgbUOTdYu1qCdnmAENz8CbR9kQ0T+cBbE4ond52108BZaUZ8=+-----END CERTIFICATE-----diff --git a/solr/core/src/test-files/solr/security/jwt_plugin_idp_wrongcert.pem b/solr/core/src/test-files/solr/security/jwt_plugin_idp_wrongcert.pemnew file mode 100644index 00000000000..841ab3f4768--- /dev/null+++ b/solr/core/src/test-files/solr/security/jwt_plugin_idp_wrongcert.pem@@ -0,0 +1,21 @@+-----BEGIN CERTIFICATE-----+MIIDhTCCAm2gAwIBAgIJALqksMNq0WycMA0GCSqGSIb3DQEBCwUAMGQxCzAJBgNV+BAYTAk5PMQ0wCwYDVQQIDARPU0xPMREwDwYDVQQHDAhJbnRlcm5ldDEOMAwGA1UE+CgwFTXlPcmcxDDAKBgNVBAsMA1ImRDEVMBMGA1UEAwwMU29sciBSb290IENBMB4X+DTIxMDYwNDA3MTQxM1oXDTIyMDYwNDA3MTQxM1owZDELMAkGA1UEBhMCTk8xDTAL+BgNVBAgMBE9TTE8xFDASBgNVBAcMC1NvbHIgU2VydmVyMQ4wDAYDVQQKDAVNeU9y+ZzEMMAoGA1UECwwDUiZEMRIwEAYDVQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3+DQEBAQUAA4IBDwAwggEKAoIBAQDR8kyopSWB/iJ73UWSQtTSzOR0IyhhLqd4Fw4k+l72Z3yMHv5RXTYmWoXIw65K1lQlDpIagbddRqGDVGEoJL/Yt42WnNDHbXdyPcsvx+Kau0/q5RWzcX/IzfEZCXbWMPH3dHbk+UgSyCUYbEHROWz6f1lQiHvyJOFDHFS+9c+WTi50zD43t5+0WWhgP6SAYNajjwT5yx0WPh3UDnVs58u9gOBHLs90XEg34nvEDu7+HYTGAV3Oc7KFwQAtneQOiEtDcMM6Jac8Ahbt4JW3LoeH3MuRntg6a1RQ7kbaZttT+6G19/PjbeAzp0N7t5Zu9EKZ/b6EA0dB/AlAvdnefEfPzg0JVAgMBAAGjOjA4MBQG+A1UdEQQNMAuCCWxvY2FsaG9zdDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYB+BQUHAwEwDQYJKoZIhvcNAQELBQADggEBAELP1chnHCzKY1S7e756H9l5BNR/GXdG+NYnXr9BJ4StXw442O95Cr9icNjic/XC294xY8Hw5IlmxHf01z3MRv5VTDS3L2ykP+Qkq6jbw9ssl2iuMsXVCZ6lnQxbEANJsZyXS+ljDCl/Y7XlYCzz5bMNGoQsz4GySE+PGkRQ8+jCJCyxn1aIOi9IEZ2sfpO8JVivhxwKsEJfWs0BZbI/bjmtYX5GVmxR0/s+vhGs1EKD1JFWTJLstLfwZ0fx5Yaa9cFmoLZ52bDtqt7qxuFdCJkO2U457BRSrKv8+gKjLz7p3YtI1YfyWPHlsL9qYJwCa5aq9h68JJRm8ZxtRfFjcF+9BvJ0=+-----END CERTIFICATE-----diff --git a/solr/core/src/test/org/apache/solr/security/JWTAuthPluginIntegrationTest.java b/solr/core/src/test/org/apache/solr/security/JWTAuthPluginIntegrationTest.javaindex 5351968f1df..5f2b59c3f48 100644--- a/solr/core/src/test/org/apache/solr/security/JWTAuthPluginIntegrationTest.java+++ b/solr/core/src/test/org/apache/solr/security/JWTAuthPluginIntegrationTest.java@@ -16,20 +16,12 @@*/package org.apache.solr.security;-import java.io.BufferedReader;-import java.io.IOException;-import java.io.InputStream;-import java.io.InputStreamReader;-import java.io.OutputStream;-import java.net.HttpURLConnection;-import java.net.URL;-import java.nio.charset.StandardCharsets;-import java.util.HashMap;-import java.util.Map;-import java.util.Set;-import java.util.concurrent.TimeUnit;-import java.util.stream.Collectors;-+import no.nav.security.mock.oauth2.MockOAuth2Server;+import no.nav.security.mock.oauth2.OAuth2Config;+import no.nav.security.mock.oauth2.http.MockWebServerWrapper;+import no.nav.security.mock.oauth2.token.DefaultOAuth2TokenCallback;+import no.nav.security.mock.oauth2.token.OAuth2TokenProvider;+import okhttp3.mockwebserver.MockWebServer;import org.apache.commons.io.IOUtils;import org.apache.http.HttpHeaders;import org.apache.http.HttpResponse;@@ -41,10 +33,12 @@ import org.apache.http.impl.client.CloseableHttpClient;import org.apache.solr.SolrTestCaseJ4;import org.apache.solr.client.solrj.impl.HttpClientUtil;import org.apache.solr.cloud.SolrCloudAuthTestCase;+import org.apache.solr.common.SolrException;import org.apache.solr.common.util.Base64;import org.apache.solr.common.util.Pair;import org.apache.solr.common.util.TimeSource;import org.apache.solr.common.util.Utils;+import org.apache.solr.util.CryptoKeys;import org.apache.solr.util.TimeOut;import org.jose4j.jwk.PublicJsonWebKey;import org.jose4j.jwk.RsaJsonWebKey;@@ -53,9 +47,33 @@ import org.jose4j.jws.AlgorithmIdentifiers;import org.jose4j.jws.JsonWebSignature;import org.jose4j.jwt.JwtClaims;import org.junit.After;-import org.junit.Before;+import org.junit.AfterClass;+import org.junit.BeforeClass;import org.junit.Test;+import javax.net.ssl.KeyManagerFactory;+import javax.net.ssl.SSLContext;+import javax.net.ssl.SSLSocketFactory;+import javax.net.ssl.TrustManagerFactory;+import java.io.BufferedReader;+import java.io.IOException;+import java.io.InputStream;+import java.io.InputStreamReader;+import java.io.OutputStream;+import java.net.HttpURLConnection;+import java.net.URL;+import java.nio.charset.Charset;+import java.nio.charset.StandardCharsets;+import java.nio.file.Files;+import java.nio.file.Path;+import java.security.KeyStore;+import java.util.Collections;+import java.util.HashMap;+import java.util.Map;+import java.util.Set;+import java.util.concurrent.TimeUnit;+import java.util.stream.Collectors;+import static java.nio.charset.StandardCharsets.UTF_8;/**@@ -70,54 +88,37 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {protected static final int NUM_SERVERS = 2;protected static final int NUM_SHARDS = 2;protected static final int REPLICATION_FACTOR = 1;+ private static String mockOAuthToken;+ private static Path pemFilePath;+ private static Path wrongPemFilePath;private final String COLLECTION = "jwtColl";- private String jwtTestToken;+ private static String jwtStaticTestToken;private String baseUrl;- private JsonWebSignature jws;- private String jwtTokenWrongSignature;+ private static JsonWebSignature jws;+ private static String jwtTokenWrongSignature;- @Override- @Before- public void setUp() throws Exception {- super.setUp();-- configureCluster(NUM_SERVERS)// nodes- .withSecurityJson(TEST_PATH().resolve("security").resolve("jwt_plugin_jwk_security.json"))- .addConfig("conf1", TEST_PATH().resolve("configsets").resolve("cloud-minimal").resolve("conf"))- .withDefaultClusterProperty("useLegacyReplicaAssignment", "false")- .configure();- baseUrl = cluster.getRandomJetty(random()).getBaseUrl().toString();+ private static MockOAuth2Server mockOAuth2Server;- String jwkJSON = "{\n" +- " \"kty\": \"RSA\",\n" +- " \"d\": \"i6pyv2z3o-MlYytWsOr3IE1olu2RXZBzjPRBNgWAP1TlLNaphHEvH5aHhe_CtBAastgFFMuP29CFhaL3_tGczkvWJkSveZQN2AHWHgRShKgoSVMspkhOt3Ghha4CvpnZ9BnQzVHnaBnHDTTTfVgXz7P1ZNBhQY4URG61DKIF-JSSClyh1xKuMoJX0lILXDYGGcjVTZL_hci4IXPPTpOJHV51-pxuO7WU5M9252UYoiYyCJ56ai8N49aKIMsqhdGuO4aWUwsGIW4oQpjtce5eEojCprYl-9rDhTwLAFoBtjy6LvkqlR2Ae5dKZYpStljBjK8PJrBvWZjXAEMDdQ8PuQ\",\n" +- " \"e\": \"AQAB\",\n" +- " \"use\": \"sig\",\n" +- " \"kid\": \"test\",\n" +- " \"alg\": \"RS256\",\n" +- " \"n\": \"jeyrvOaZrmKWjyNXt0myAc_pJ1hNt3aRupExJEx1ewPaL9J9HFgSCjMrYxCB1ETO1NDyZ3nSgjZis-jHHDqBxBjRdq_t1E2rkGFaYbxAyKt220Pwgme_SFTB9MXVrFQGkKyjmQeVmOmV6zM3KK8uMdKQJ4aoKmwBcF5Zg7EZdDcKOFgpgva1Jq-FlEsaJ2xrYDYo3KnGcOHIt9_0NQeLsqZbeWYLxYni7uROFncXYV5FhSJCeR4A_rrbwlaCydGxE0ToC_9HNYibUHlkJjqyUhAgORCbNS8JLCJH8NUi5sDdIawK9GTSyvsJXZ-QHqo4cMUuxWV5AJtaRGghuMUfqQ\"\n" +- "}";-- PublicJsonWebKey jwk = RsaJsonWebKey.Factory.newPublicJwk(jwkJSON);- JwtClaims claims = JWTAuthPluginTest.generateClaims();- jws = new JsonWebSignature();- jws.setPayload(claims.toJson());- jws.setKey(jwk.getPrivateKey());- jws.setKeyIdHeaderValue(jwk.getKeyId());- jws.setAlgorithmHeaderValue(AlgorithmIdentifiers.RSA_USING_SHA256);+ @BeforeClass+ public static void beforeClass() throws Exception {+ // Setup an OAuth2 mock server with SSL+ Path p12Cert = SolrTestCaseJ4.TEST_PATH().resolve("security").resolve("jwt_plugin_idp_certs.p12");+ pemFilePath = SolrTestCaseJ4.TEST_PATH().resolve("security").resolve("jwt_plugin_idp_cert.pem");+ wrongPemFilePath = SolrTestCaseJ4.TEST_PATH().resolve("security").resolve("jwt_plugin_idp_wrongcert.pem");- jwtTestToken = jws.getCompactSerialization();-- PublicJsonWebKey jwk2 = RsaJwkGenerator.generateJwk(2048);- jwk2.setKeyId("k2");- JsonWebSignature jws2 = new JsonWebSignature();- jws2.setPayload(claims.toJson());- jws2.setKey(jwk2.getPrivateKey());- jws2.setKeyIdHeaderValue(jwk2.getKeyId());- jws2.setAlgorithmHeaderValue(AlgorithmIdentifiers.RSA_USING_SHA256);- jwtTokenWrongSignature = jws2.getCompactSerialization();+ mockOAuth2Server = createMockOAuthServer(p12Cert,"secret");+ mockOAuth2Server.start();+ mockOAuthToken = mockOAuth2Server.issueToken("default",+ "myClientId",+ new DefaultOAuth2TokenCallback()).serialize();+ initStaticJwt();+ }- cluster.waitForAllNodes(10);+ @AfterClass+ public static void afterClass() throws Exception {+ if (mockOAuth2Server != null) {+ mockOAuth2Server.shutdown();+ }}@Override@@ -127,13 +128,40 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {super.tearDown();}- @Test(expected = IOException.class)- public void infoRequestWithoutToken() throws Exception {- get(baseUrl + "/admin/info/system", null);+ @Test+ public void extractCertificateFromPem() throws IOException {+ String cert = extractCertificateFromPem(pemFilePath);+ assertEquals(2, CryptoKeys.parseX509Certs(IOUtils.toInputStream(cert, StandardCharsets.UTF_8)).size());}@Test- public void infoRequestValidateXSolrAuthHeaders() throws IOException {+ public void mockOAuth2Server() throws Exception {+ configureClusterMockOauth(2, pemFilePath);++ // First attempt without token fails+ Map<String, String> headers = getHeaders(baseUrl + "/admin/info/system", null);+ assertEquals("Should have received 401 code", "401", headers.get("code"));++ // Second attempt with token from Oauth mock server succeeds+ headers = getHeaders(baseUrl + "/admin/info/system", mockOAuthToken);+ assertEquals("200", headers.get("code"));+ }++ @Test+ public void mockOAuth2ServerWrongPEMInTruststore() throws Exception {+ // JWTAuthPlugin throws SSLHandshakeException when fetching JWK, so this trips cluster init+ configureClusterMockOauth(2, wrongPemFilePath);+ // Auth is not setup+ assertNull(cluster.getJettySolrRunner(0).getCoreContainer().getAuthenticationPlugin());+ }++ public void testStaticJwtKeys() throws Exception {+ configureClusterStaticKeys("jwt_plugin_jwk_security.json");++ // No token fails+ assertThrows(IOException.class, () -> get(baseUrl + "/admin/info/system", null));++ // Validate X-Solr-AuthData headersMap<String, String> headers = getHeaders(baseUrl + "/admin/info/system", null);assertEquals("Should have received 401 code", "401", headers.get("code"));assertEquals("Bearer realm=\"my-solr-jwt\"", headers.get("WWW-Authenticate"));@@ -147,14 +175,8 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {@Testpublic void infoRequestValidateXSolrAuthHeadersBlockUnknownFalse() throws Exception {- // Re-configure cluster with other security.json, see https://issues.apache.org/jira/browse/SOLR-14196- shutdownCluster();- configureCluster(NUM_SERVERS)// nodes- .withSecurityJson(TEST_PATH().resolve("security").resolve("jwt_plugin_jwk_security_blockUnknownFalse.json"))- .addConfig("conf1", TEST_PATH().resolve("configsets").resolve("cloud-minimal").resolve("conf"))- .withDefaultClusterProperty("useLegacyReplicaAssignment", "false")- .configure();- baseUrl = cluster.getRandomJetty(random()).getBaseUrl().toString();+ // https://issues.apache.org/jira/browse/SOLR-14196+ configureClusterStaticKeys("jwt_plugin_jwk_security_blockUnknownFalse.json");Map<String, String> headers = getHeaders(baseUrl + "/admin/info/system", null);assertEquals("Should have received 401 code", "401", headers.get("code"));@@ -169,6 +191,8 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {@Testpublic void testMetrics() throws Exception {+ configureClusterStaticKeys("jwt_plugin_jwk_security.json");+boolean isUseV2Api = random().nextBoolean();String authcPrefix = "/admin/authentication";if(isUseV2Api){@@ -206,33 +230,100 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {@Testpublic void createCollectionUpdateAndQueryDistributed() throws Exception {+ configureClusterStaticKeys("jwt_plugin_jwk_security.json");+// Admin request will use PKI inter-node auth from Overseer, and succeedcreateCollection(COLLECTION);// Now update three documentsassertAuthMetricsMinimums(1, 1, 0, 0, 0, 0);assertPkiAuthMetricsMinimums(2, 2, 0, 0, 0, 0);- Pair<String,Integer> result = post(baseUrl + "/" + COLLECTION + "/update?commit=true", "[{\"id\" : \"1\"}, {\"id\": \"2\"}, {\"id\": \"3\"}]", jwtTestToken);+ Pair<String,Integer> result = post(baseUrl + "/" + COLLECTION + "/update?commit=true", "[{\"id\" : \"1\"}, {\"id\": \"2\"}, {\"id\": \"3\"}]", jwtStaticTestToken);assertEquals(Integer.valueOf(200), result.second());assertAuthMetricsMinimums(4, 4, 0, 0, 0, 0);assertPkiAuthMetricsMinimums(2, 2, 0, 0, 0, 0);// First a non distributed query- result = get(baseUrl + "/" + COLLECTION + "/query?q=*:*&distrib=false", jwtTestToken);+ result = get(baseUrl + "/" + COLLECTION + "/query?q=*:*&distrib=false", jwtStaticTestToken);assertEquals(Integer.valueOf(200), result.second());assertAuthMetricsMinimums(5, 5, 0, 0, 0, 0);// Now do a distributed query, using JWTAuth for inter-node- result = get(baseUrl + "/" + COLLECTION + "/query?q=*:*", jwtTestToken);+ result = get(baseUrl + "/" + COLLECTION + "/query?q=*:*", jwtStaticTestToken);assertEquals(Integer.valueOf(200), result.second());assertAuthMetricsMinimums(10, 10, 0, 0, 0, 0);// Delete- assertEquals(200, get(baseUrl + "/admin/collections?action=DELETE&name=" + COLLECTION, jwtTestToken).second().intValue());+ assertEquals(200, get(baseUrl + "/admin/collections?action=DELETE&name=" + COLLECTION, jwtStaticTestToken).second().intValue());assertAuthMetricsMinimums(11, 11, 0, 0, 0, 0);assertPkiAuthMetricsMinimums(4, 4, 0, 0, 0, 0);}+ private void configureClusterMockOauth(int numNodes, Path pemFilePath) throws Exception {+ configureCluster(numNodes)// nodes+ .addConfig("conf1", TEST_PATH().resolve("configsets").resolve("cloud-minimal").resolve("conf"))+ .withDefaultClusterProperty("useLegacyReplicaAssignment", "false")+ .configure();+ String securityJson = createMockOAuthSecurityJson(pemFilePath);+ cluster.getZkClient().setData("/security.json", securityJson.getBytes(Charset.defaultCharset()), true);+ for(int i = 0; i < 5; i++) { // Wait up to 1s for the security.json change to take effect+ if (cluster.getJettySolrRunner(0).getCoreContainer().getAuthenticationPlugin() == null) {+ Thread.sleep(200);+ } else break;+ }+ baseUrl = cluster.getRandomJetty(random()).getBaseUrl().toString();+ cluster.waitForAllNodes(10);+ }++ /**+ * Configure solr cluster with a security.json made for static keys+ * @param securityJsonFilename file name of test json, relative to test-files/solr/security+ */+ private void configureClusterStaticKeys(String securityJsonFilename) throws Exception {+ configureCluster(NUM_SERVERS)// nodes+ .withSecurityJson(TEST_PATH().resolve("security").resolve(securityJsonFilename))+ .addConfig("conf1", TEST_PATH().resolve("configsets").resolve("cloud-minimal").resolve("conf"))+ .withDefaultClusterProperty("useLegacyReplicaAssignment", "false")+ .configure();+ baseUrl = cluster.getRandomJetty(random()).getBaseUrl().toString();++ cluster.waitForAllNodes(10);+ }++ /**+ * Initialize some static JWT keys+ */+ private static void initStaticJwt() throws Exception {+ String jwkJSON = "{\n" ++ " \"kty\": \"RSA\",\n" ++ " \"d\": \"i6pyv2z3o-MlYytWsOr3IE1olu2RXZBzjPRBNgWAP1TlLNaphHEvH5aHhe_CtBAastgFFMuP29CFhaL3_tGczkvWJkSveZQN2AHWHgRShKgoSVMspkhOt3Ghha4CvpnZ9BnQzVHnaBnHDTTTfVgXz7P1ZNBhQY4URG61DKIF-JSSClyh1xKuMoJX0lILXDYGGcjVTZL_hci4IXPPTpOJHV51-pxuO7WU5M9252UYoiYyCJ56ai8N49aKIMsqhdGuO4aWUwsGIW4oQpjtce5eEojCprYl-9rDhTwLAFoBtjy6LvkqlR2Ae5dKZYpStljBjK8PJrBvWZjXAEMDdQ8PuQ\",\n" ++ " \"e\": \"AQAB\",\n" ++ " \"use\": \"sig\",\n" ++ " \"kid\": \"test\",\n" ++ " \"alg\": \"RS256\",\n" ++ " \"n\": \"jeyrvOaZrmKWjyNXt0myAc_pJ1hNt3aRupExJEx1ewPaL9J9HFgSCjMrYxCB1ETO1NDyZ3nSgjZis-jHHDqBxBjRdq_t1E2rkGFaYbxAyKt220Pwgme_SFTB9MXVrFQGkKyjmQeVmOmV6zM3KK8uMdKQJ4aoKmwBcF5Zg7EZdDcKOFgpgva1Jq-FlEsaJ2xrYDYo3KnGcOHIt9_0NQeLsqZbeWYLxYni7uROFncXYV5FhSJCeR4A_rrbwlaCydGxE0ToC_9HNYibUHlkJjqyUhAgORCbNS8JLCJH8NUi5sDdIawK9GTSyvsJXZ-QHqo4cMUuxWV5AJtaRGghuMUfqQ\"\n" ++ "}";++ PublicJsonWebKey jwk = RsaJsonWebKey.Factory.newPublicJwk(jwkJSON);+ JwtClaims claims = JWTAuthPluginTest.generateClaims();+ jws = new JsonWebSignature();+ jws.setPayload(claims.toJson());+ jws.setKey(jwk.getPrivateKey());+ jws.setKeyIdHeaderValue(jwk.getKeyId());+ jws.setAlgorithmHeaderValue(AlgorithmIdentifiers.RSA_USING_SHA256);++ jwtStaticTestToken = jws.getCompactSerialization();++ PublicJsonWebKey jwk2 = RsaJwkGenerator.generateJwk(2048);+ jwk2.setKeyId("k2");+ JsonWebSignature jws2 = new JsonWebSignature();+ jws2.setPayload(claims.toJson());+ jws2.setKey(jwk2.getPrivateKey());+ jws2.setKeyIdHeaderValue(jwk2.getKeyId());+ jws2.setAlgorithmHeaderValue(AlgorithmIdentifiers.RSA_USING_SHA256);+ jwtTokenWrongSignature = jws2.getCompactSerialization();+ }+private void getAndFail(String url, String token) {try {get(url, token);@@ -289,7 +380,7 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {}private void createCollection(String collectionName) throws IOException {- assertEquals(200, get(baseUrl + "/admin/collections?action=CREATE&name=" + collectionName + "&numShards=2", jwtTestToken).second().intValue());+ assertEquals(200, get(baseUrl + "/admin/collections?action=CREATE&name=" + collectionName + "&numShards=2", jwtStaticTestToken).second().intValue());cluster.waitForActiveCollection(collectionName, 2, 2);}@@ -328,4 +419,56 @@ public class JWTAuthPluginIntegrationTest extends SolrCloudAuthTestCase {});}++ /**+ * Creates a security.json string which points to the MockOAuth server using it's well-known URL and trusting its SSL+ */+ private static String createMockOAuthSecurityJson(Path pemFilePath) throws IOException {+ String wellKnown = mockOAuth2Server.wellKnownUrl("default").toString();+ String pemCert = extractCertificateFromPem(pemFilePath).replaceAll("\n", "\\\\n");+ return "{\n" ++ " \"authentication\" : {\n" ++ " \"class\": \"solr.JWTAuthPlugin\",\n" ++ " \"wellKnownUrl\": \"" + wellKnown + "\",\n" ++ " \"blockUnknown\": true\n" ++ " \"trustedCerts\": \"" + pemCert + "\"\n" ++ " }\n" ++ "}";+ }++ private static String extractCertificateFromPem(Path pemFilePath) throws IOException {+ String raw = Files.readString(pemFilePath);+ int from = raw.indexOf("-----BEGIN CERTIFICATE-----");+ int end = raw.lastIndexOf("-----END CERTIFICATE-----") + 25;+ return raw.substring(from, end);+ }++ /**+ * Create and return a MockOAuth2Server with given SSL certificate+ * @param p12CertPath path to a p12 certificate store+ * @param secretKeyPass password to secret key+ */+ private static MockOAuth2Server createMockOAuthServer(Path p12CertPath, String secretKeyPass) {+ try {+ final KeyStore keystore = KeyStore.getInstance("pkcs12");+ keystore.load(Files.newInputStream(p12CertPath), secretKeyPass.toCharArray());+ final KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());+ keyManagerFactory.init(keystore, secretKeyPass.toCharArray());+ final TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(+ TrustManagerFactory.getDefaultAlgorithm());+ trustManagerFactory.init(keystore);++ MockWebServerWrapper mockWebServerWrapper = new MockWebServerWrapper();+ MockWebServer mockWebServer = mockWebServerWrapper.getMockWebServer();+ SSLContext sslContext = SSLContext.getInstance("TLSv1.2");+ sslContext.init(keyManagerFactory.getKeyManagers(), /*trustManagerFactory.getTrustManagers()*/ null, null);+ SSLSocketFactory sf = sslContext.getSocketFactory();+ mockWebServer.useHttps(sf, false);++ OAuth2Config config = new OAuth2Config(false, new OAuth2TokenProvider(), Collections.emptySet(), mockWebServerWrapper);+ return new MockOAuth2Server(config);+ } catch (Exception e) {+ throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Failed initializing SSL", e);+ }+ }}diff --git a/solr/core/src/test/org/apache/solr/security/JWTAuthPluginTest.java b/solr/core/src/test/org/apache/solr/security/JWTAuthPluginTest.javaindex ca45080d3f6..67d11b1178e 100644--- a/solr/core/src/test/org/apache/solr/security/JWTAuthPluginTest.java+++ b/solr/core/src/test/org/apache/solr/security/JWTAuthPluginTest.java@@ -16,22 +16,12 @@*/package org.apache.solr.security;-import java.io.InputStream;-import java.nio.charset.StandardCharsets;-import java.nio.file.Files;-import java.nio.file.Path;-import java.security.Principal;-import java.util.Arrays;-import java.util.Collections;-import java.util.HashMap;-import java.util.List;-import java.util.Map;-import java.util.Set;-+import org.apache.commons.io.IOUtils;import org.apache.solr.SolrTestCaseJ4;import org.apache.solr.common.SolrException;import org.apache.solr.common.util.Base64;import org.apache.solr.common.util.Utils;+import org.apache.solr.util.CryptoKeys;import org.jose4j.jwk.RsaJsonWebKey;import org.jose4j.jwk.RsaJwkGenerator;import org.jose4j.jws.AlgorithmIdentifiers;@@ -44,9 +34,23 @@ import org.junit.Before;import org.junit.BeforeClass;import org.junit.Test;-import static org.apache.solr.security.JWTAuthPlugin.JWTAuthenticationResponse.AuthCode.AUTZ_HEADER_PROBLEM;-import static org.apache.solr.security.JWTAuthPlugin.JWTAuthenticationResponse.AuthCode.NO_AUTZ_HEADER;-import static org.apache.solr.security.JWTAuthPlugin.JWTAuthenticationResponse.AuthCode.SCOPE_MISSING;+import java.io.IOException;+import java.io.InputStream;+import java.nio.charset.StandardCharsets;+import java.nio.file.Files;+import java.nio.file.Path;+import java.security.Principal;+import java.security.cert.CertificateException;+import java.security.cert.X509Certificate;+import java.util.Arrays;+import java.util.Collection;+import java.util.Collections;+import java.util.HashMap;+import java.util.List;+import java.util.Map;+import java.util.Set;++import static org.apache.solr.security.JWTAuthPlugin.JWTAuthenticationResponse.AuthCode.*;@SuppressWarnings("unchecked")public class JWTAuthPluginTest extends SolrTestCaseJ4 {@@ -56,7 +60,7 @@ public class JWTAuthPluginTest extends SolrTestCaseJ4 {private static RsaJsonWebKey rsaJsonWebKey;private HashMap<String, Object> testConfig;private HashMap<String, Object> minimalConfig;-+ private static String trustedPemCert;// Shared with other testsstatic HashMap<String, Object> testJwk;@@ -73,7 +77,9 @@ public class JWTAuthPluginTest extends SolrTestCaseJ4 {testJwk.put("kid", rsaJsonWebKey.getKeyId());testJwk.put("alg", rsaJsonWebKey.getAlgorithm());testJwk.put("n", BigEndianBigInteger.toBase64Url(rsaJsonWebKey.getRsaPublicKey().getModulus()));- } catch (JoseException e) {++ trustedPemCert = Files.readString(TEST_PATH().resolve("security").resolve("jwt_plugin_idp_cert.pem"));+ } catch (JoseException | IOException e) {fail("Failed static initialization: " + e.getMessage());}}@@ -477,4 +483,70 @@ public class JWTAuthPluginTest extends SolrTestCaseJ4 {// Top-level (name=PRIMARY) issuer config does not need "iss" for back compatassertNull(plugin.getPrimaryIssuer().getIss());}++ @Test+ public void initWithIdpCertString() {+ HashMap<String, Object> authConf = new HashMap<>();+ authConf.put("jwksUrl", "https://127.0.0.1:9999/foo.jwk");+ authConf.put("trustedCerts", trustedPemCert);+ plugin = new JWTAuthPlugin();+ plugin.init(authConf);+ }++ @Test+ public void initWithTrustedCertsFile() {+ HashMap<String, Object> authConf = new HashMap<>();+ authConf.put("jwksUrl", "https://127.0.0.1:9999/foo.jwk");+ authConf.put("trustedCertsFile", TEST_PATH().resolve("security").resolve("jwt_plugin_idp_cert.pem").toString());+ plugin = new JWTAuthPlugin();+ plugin.init(authConf);+ assertEquals(2, plugin.getIssuerConfigs().get(0).getTrustedCerts().size());+ }++ @Test+ public void initWithInvalidIdpCertString() {+ HashMap<String, Object> authConf = new HashMap<>();+ authConf.put("jwksUrl", "https://127.0.0.1:9999/foo.jwk");+ authConf.put("trustedCerts", "-----BEGIN CERTIFICATE-----\nINVALID-----END CERTIFICATE-----\n");+ plugin = new JWTAuthPlugin();+ expectThrows(SolrException.class, () -> plugin.init(authConf));+ }++ @Test+ public void initWithInvalidTrustedCertsFile() {+ HashMap<String, Object> authConf = new HashMap<>();+ authConf.put("jwksUrl", "https://127.0.0.1:9999/foo.jwk");+ authConf.put("trustedCertsFile", TEST_PATH().resolve("security").resolve("jwt_plugin_idp_invalidcert.pem").toString());+ plugin = new JWTAuthPlugin();+ expectThrows(SolrException.class, () -> plugin.init(authConf));+ }++ @Test+ public void initWithIdpCertWrongDoubleConfig() {+ HashMap<String, Object> authConf = new HashMap<>();+ authConf.put("jwksUrl", "https://127.0.0.1:9999/foo.jwk");+ authConf.put("trustedCerts", trustedPemCert);+ authConf.put("trustedCertsFile", "/path/to/cert.pem");+ plugin = new JWTAuthPlugin();+ expectThrows(SolrException.class, () -> {+ plugin.init(authConf);+ });+ }++ @Test+ public void parsePemToX509() {+ Collection<X509Certificate> parsed =+ CryptoKeys.parseX509Certs(IOUtils.toInputStream(trustedPemCert, StandardCharsets.UTF_8));+ assertEquals(2, parsed.size());+ }++ @Test+ public void parseInvalidPemToX509() {+ expectThrows(SolrException.class, CertificateException.class, () -> {+ CryptoKeys.parseX509Certs(IOUtils.toInputStream(+ "-----BEGIN CERTIFICATE-----\n" ++ "foo\n" ++ "-----END CERTIFICATE-----\n", StandardCharsets.UTF_8));+ });+ }}diff --git a/solr/core/src/test/org/apache/solr/security/JWTIssuerConfigTest.java b/solr/core/src/test/org/apache/solr/security/JWTIssuerConfigTest.javaindex 7623f9866b4..9e9a4caf8f6 100644--- a/solr/core/src/test/org/apache/solr/security/JWTIssuerConfigTest.java+++ b/solr/core/src/test/org/apache/solr/security/JWTIssuerConfigTest.java@@ -183,9 +183,6 @@ public class JWTIssuerConfigTest extends SolrTestCase {assertEquals(500, e.code());// We open a connection in the code path to a server that doesn't exist, which causes this. Should really be mocked.assertEquals("Well-known config could not be read from url http://127.0.0.1:45678/.well-known/config", e.getMessage());---}@Testdiff --git a/solr/licenses/accessors-smart-1.2.jar.sha1 b/solr/licenses/accessors-smart-1.2.jar.sha1new file mode 100644index 00000000000..00907b4e72b--- /dev/null+++ b/solr/licenses/accessors-smart-1.2.jar.sha1@@ -0,0 +1 @@+c592b500269bfde36096641b01238a8350f8aa31diff --git a/solr/licenses/accessors-smart-LICENSE-ASL.txt b/solr/licenses/accessors-smart-LICENSE-ASL.txtnew file mode 100644index 00000000000..261eeb9e9f8--- /dev/null+++ b/solr/licenses/accessors-smart-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/accessors-smart-NOTICE.txt b/solr/licenses/accessors-smart-NOTICE.txtnew file mode 100644index 00000000000..ad2cc3bdc27--- /dev/null+++ b/solr/licenses/accessors-smart-NOTICE.txt@@ -0,0 +1 @@+Copyright 2011 JSON-SMART authors\ No newline at end of filediff --git a/solr/licenses/annotations-13.0.jar.sha1 b/solr/licenses/annotations-13.0.jar.sha1new file mode 100644index 00000000000..f4fae3b724e--- /dev/null+++ b/solr/licenses/annotations-13.0.jar.sha1@@ -0,0 +1 @@+919f0dfe192fb4e063e7dacadee7f8bb9a2672a9diff --git a/solr/licenses/annotations-LICENSE-ASL.txt b/solr/licenses/annotations-LICENSE-ASL.txtnew file mode 100644index 00000000000..261eeb9e9f8--- /dev/null+++ b/solr/licenses/annotations-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/annotations-NOTICE.txt b/solr/licenses/annotations-NOTICE.txtnew file mode 100644index 00000000000..232c639a7b4--- /dev/null+++ b/solr/licenses/annotations-NOTICE.txt@@ -0,0 +1 @@+Copyright 2010-2020 JetBrains s.r.o and respective authors and developers\ No newline at end of filediff --git a/solr/licenses/content-type-2.1.jar.sha1 b/solr/licenses/content-type-2.1.jar.sha1new file mode 100644index 00000000000..efc85045bf2--- /dev/null+++ b/solr/licenses/content-type-2.1.jar.sha1@@ -0,0 +1 @@+66d618739859bc75ab9643b96a9839ac7802ec90diff --git a/solr/licenses/content-type-LICENSE-ASL.txt b/solr/licenses/content-type-LICENSE-ASL.txtnew file mode 100644index 00000000000..7a4a3ea2424--- /dev/null+++ b/solr/licenses/content-type-LICENSE-ASL.txt@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.\ No newline at end of filediff --git a/solr/licenses/content-type-NOTICE.txt b/solr/licenses/content-type-NOTICE.txtnew file mode 100644index 00000000000..e0f02645ae9--- /dev/null+++ b/solr/licenses/content-type-NOTICE.txt@@ -0,0 +1,14 @@+Nimbus Content Type++Copyright 2020, Connect2id Ltd.++Licensed under the Apache License, Version 2.0 (the "License"); you may not use+this file except in compliance with the License. You may obtain a copy of the+License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software distributed+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR+CONDITIONS OF ANY KIND, either express or implied. See the License for the+specific language governing permissions and limitations under the License.diff --git a/solr/licenses/freemarker-2.3.31.jar.sha1 b/solr/licenses/freemarker-2.3.31.jar.sha1new file mode 100644index 00000000000..d870a1a4a2c--- /dev/null+++ b/solr/licenses/freemarker-2.3.31.jar.sha1@@ -0,0 +1 @@+cd4fc0942b4a8bdb19f3b669aa42136fb54feb55diff --git a/solr/licenses/freemarker-LICENSE-ASL.txt b/solr/licenses/freemarker-LICENSE-ASL.txtnew file mode 100644index 00000000000..f49a4e16e68--- /dev/null+++ b/solr/licenses/freemarker-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.\ No newline at end of filediff --git a/solr/licenses/freemarker-NOTICE.txt b/solr/licenses/freemarker-NOTICE.txtnew file mode 100644index 00000000000..99016141f15--- /dev/null+++ b/solr/licenses/freemarker-NOTICE.txt@@ -0,0 +1,5 @@+Apache FreeMarker+Copyright 2015-2018 The Apache Software Foundation++This product includes software developed at+The Apache Software Foundation (http://www.apache.org/).\ No newline at end of filediff --git a/solr/licenses/jackson-module-kotlin-2.12.2.jar.sha1 b/solr/licenses/jackson-module-kotlin-2.12.2.jar.sha1new file mode 100644index 00000000000..6c518a42215--- /dev/null+++ b/solr/licenses/jackson-module-kotlin-2.12.2.jar.sha1@@ -0,0 +1 @@+f3b0d95d5493f1ab2846f9e981db19caf1410e88diff --git a/solr/licenses/jackson-module-kotlin-LICENSE-ASL.txt b/solr/licenses/jackson-module-kotlin-LICENSE-ASL.txtnew file mode 100644index 00000000000..f49a4e16e68--- /dev/null+++ b/solr/licenses/jackson-module-kotlin-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.\ No newline at end of filediff --git a/solr/licenses/jackson-module-kotlin-NOTICE.txt b/solr/licenses/jackson-module-kotlin-NOTICE.txtnew file mode 100644index 00000000000..3b215582d51--- /dev/null+++ b/solr/licenses/jackson-module-kotlin-NOTICE.txt@@ -0,0 +1,96 @@+Here are people who have contributed to development Jackson JSON processor+Kotlin module, version 2.x+(version numbers in brackets indicate release in which the problem was fixed)++Authors:++ Jayson Minard/@apatrida, [email protected]: author++ Tatu Saloranta/@cowtowncoder ([email protected]) : co-author++ Drew Stephens/@dinomite ([email protected]) co-author (since 2.11)+ Vyacheslav Artemyev (@viartemev) co-author (since 2.11)++Contributors:++Christopher Mason (masoncj@github)+* #194: Contributed test case for @JsonIdentityInfo usage+ (2.12.NEXT)++Martin Häusler (MartinHaeusler@github)+* Reported #194: @JsonIdentityInfo bug+ (2.12.NEXT)++Eric Fenderbosch (efenderbosch@github)+* Fixed #182: Serialize unsigned numbers+ (2.12.2)++Elisha Peterson (triathematician@github)+* Reported #409: `module-info.java` missing "exports"+ (2.12.2)++Wolfgang Jung (elektro-wolle@github)+* Fixed inline class serialization+ (2.12.1)++John Flynn (Neuman968@github)+* Contributed extension methods for SimpleModule to add serializer and deserializer+ extension functions for KClass #322+ (2.12.0)++Mateusz Stefek (MateuszStefek@github)+* Reported #321: Make MissingKotlinParameterException a descendant of MismatchedInputException+ (2.12.0)++Hideaki Tanabe (tanabe@github)+* Brought README.md into the modern world of Gradle (compile -> implementation)+ (2.12.0)++Hidde Wieringa (hiddewie@github)+* Contributed test case for issue 308+* Contributed Kotlin DSL constructor+ (2.12.0)++David Riggleman (DavidRigglemanININ@github)+* Wrote strict null checking for collection values+ (2.12.0)++Stéphane B (StephaneBg@github)+* Submitted fix for #176: Version 2.9.7 breaks compatibility with Android minSdk < 24+ (2.10.1)++Alain Lehmann (ciderale@github)+* Contributed fix for #225: Don't instantiate new instances of Kotlin singleton objects+ (2.10.1)++Andrey Lipatov (LipatovAndrey@github)+* Contributed fix for #80: Boolean property name starting with 'is' not serialized /+ deserialized properly+ (2.10.1)++Konstantin Volivach (kostya05983@github)+* Contributed fix for #254: Add serializers for Sequences+ (2.10.1)++Laimonas Turauskas (Laimiux@github)+* Contributed fix for #180: handle nullable method parameters correctly (for creator methods)+ (2.10.1)++Patrick Strawderman (kilink@github)+* Reported #279: 2.10 introduces another binary compatibility issue in `KotlinModule`+ constructor+ (2.10.2)++Vladimir Petrakovich (frost13it@github)+* Contributed fix for #279: 2.10 introduces another binary compatibility issue in+ `KotlinModule` constructor+ (2.10.2)++Drew Stephens (dinomite@github)+* Contributed fix for #281: KotlinObjectSingletonDeserializer fails to deserialize+ previously serialized JSON as it doesn't delegate deserializeWithType+ (2.11.0)++Kiori Miyata aka "wrongwrong" (k163377@github)+* Contributed #438: Fixed mapping failure when `private` `companion object` is named+ (2.13.0)\ No newline at end of filediff --git a/solr/licenses/jcip-annotations-1.0-1.jar.sha1 b/solr/licenses/jcip-annotations-1.0-1.jar.sha1new file mode 100644index 00000000000..a386fdfcba9--- /dev/null+++ b/solr/licenses/jcip-annotations-1.0-1.jar.sha1@@ -0,0 +1 @@+ef31541dd28ae2cefdd17c7ebf352d93e9058c63diff --git a/solr/licenses/jcip-annotations-LICENSE-ASL.txt b/solr/licenses/jcip-annotations-LICENSE-ASL.txtnew file mode 100644index 00000000000..f49a4e16e68--- /dev/null+++ b/solr/licenses/jcip-annotations-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.\ No newline at end of filediff --git a/solr/licenses/jcip-annotations-NOTICE.txt b/solr/licenses/jcip-annotations-NOTICE.txtnew file mode 100644index 00000000000..07ffdf92faa--- /dev/null+++ b/solr/licenses/jcip-annotations-NOTICE.txt@@ -0,0 +1 @@+Copyright 2013 Stephen Connolly\ No newline at end of filediff --git a/solr/licenses/json-smart-2.3.jar.sha1 b/solr/licenses/json-smart-2.3.jar.sha1new file mode 100644index 00000000000..5fc001e8f41--- /dev/null+++ b/solr/licenses/json-smart-2.3.jar.sha1@@ -0,0 +1 @@+007396407491352ce4fa30de92efb158adb76b5bdiff --git a/solr/licenses/json-smart-LICENSE-ASL.txt b/solr/licenses/json-smart-LICENSE-ASL.txtnew file mode 100644index 00000000000..261eeb9e9f8--- /dev/null+++ b/solr/licenses/json-smart-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/json-smart-NOTICE.txt b/solr/licenses/json-smart-NOTICE.txtnew file mode 100644index 00000000000..ad2cc3bdc27--- /dev/null+++ b/solr/licenses/json-smart-NOTICE.txt@@ -0,0 +1 @@+Copyright 2011 JSON-SMART authors\ No newline at end of filediff --git a/solr/licenses/kotlin-LICENSE-ASL.txt b/solr/licenses/kotlin-LICENSE-ASL.txtnew file mode 100644index 00000000000..f49a4e16e68--- /dev/null+++ b/solr/licenses/kotlin-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.\ No newline at end of filediff --git a/solr/licenses/kotlin-NOTICE.txt b/solr/licenses/kotlin-NOTICE.txtnew file mode 100644index 00000000000..ee28cedab66--- /dev/null+++ b/solr/licenses/kotlin-NOTICE.txt@@ -0,0 +1,2 @@+Kotlin Compiler+Copyright 2010-2020 JetBrains s.r.o and respective authors and developers\ No newline at end of filediff --git a/solr/licenses/kotlin-logging-jvm-2.0.6.jar.sha1 b/solr/licenses/kotlin-logging-jvm-2.0.6.jar.sha1new file mode 100644index 00000000000..bd2d62c7dfe--- /dev/null+++ b/solr/licenses/kotlin-logging-jvm-2.0.6.jar.sha1@@ -0,0 +1 @@+539f788429038f058f9c0da3cac14f7b653f0db8diff --git a/solr/licenses/kotlin-reflect-1.4.32.jar.sha1 b/solr/licenses/kotlin-reflect-1.4.32.jar.sha1new file mode 100644index 00000000000..ba9373ef7a9--- /dev/null+++ b/solr/licenses/kotlin-reflect-1.4.32.jar.sha1@@ -0,0 +1 @@+ce852b166d97f0f1991b5130c2bb02e2ef6c554ediff --git a/solr/licenses/kotlin-stdlib-1.4.32.jar.sha1 b/solr/licenses/kotlin-stdlib-1.4.32.jar.sha1new file mode 100644index 00000000000..d51c8314f93--- /dev/null+++ b/solr/licenses/kotlin-stdlib-1.4.32.jar.sha1@@ -0,0 +1 @@+461367948840adbb0839c51d91ed74ef4a9ccb52diff --git a/solr/licenses/kotlin-stdlib-common-1.4.32.jar.sha1 b/solr/licenses/kotlin-stdlib-common-1.4.32.jar.sha1new file mode 100644index 00000000000..969ef6af02e--- /dev/null+++ b/solr/licenses/kotlin-stdlib-common-1.4.32.jar.sha1@@ -0,0 +1 @@+ef50bfa2c0491a11dcc35d9822edbfd6170e1ea2diff --git a/solr/licenses/kotlin-stdlib-jdk7-1.4.10.jar.sha1 b/solr/licenses/kotlin-stdlib-jdk7-1.4.10.jar.sha1new file mode 100644index 00000000000..b505b7bffeb--- /dev/null+++ b/solr/licenses/kotlin-stdlib-jdk7-1.4.10.jar.sha1@@ -0,0 +1 @@+30e46450b0bb3dbf43898d2f461be4a942784780diff --git a/solr/licenses/kotlin-stdlib-jdk8-1.4.10.jar.sha1 b/solr/licenses/kotlin-stdlib-jdk8-1.4.10.jar.sha1new file mode 100644index 00000000000..30361929890--- /dev/null+++ b/solr/licenses/kotlin-stdlib-jdk8-1.4.10.jar.sha1@@ -0,0 +1 @@+998caa30623f73223194a8b657abd2baec4880eadiff --git a/solr/licenses/lang-tag-1.4.4.jar.sha1 b/solr/licenses/lang-tag-1.4.4.jar.sha1new file mode 100644index 00000000000..a48d1f97d89--- /dev/null+++ b/solr/licenses/lang-tag-1.4.4.jar.sha1@@ -0,0 +1 @@+1db9a709239ae473a69b5424c7e78d0b7108229ddiff --git a/solr/licenses/lang-tag-LICENSE-ASL.txt b/solr/licenses/lang-tag-LICENSE-ASL.txtnew file mode 100644index 00000000000..261eeb9e9f8--- /dev/null+++ b/solr/licenses/lang-tag-LICENSE-ASL.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/lang-tag-NOTICE.txt b/solr/licenses/lang-tag-NOTICE.txtnew file mode 100644index 00000000000..37a85f6850d--- /dev/null+++ b/solr/licenses/lang-tag-NOTICE.txt@@ -0,0 +1,14 @@+Nimbus Language Tags++Copyright 2012-2016, Connect2id Ltd.++Licensed under the Apache License, Version 2.0 (the "License"); you may not use+this file except in compliance with the License. You may obtain a copy of the+License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software distributed+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR+CONDITIONS OF ANY KIND, either express or implied. See the License for the+specific language governing permissions and limitations under the License.diff --git a/solr/licenses/mock-oauth2-server-0.3.3.jar.sha1 b/solr/licenses/mock-oauth2-server-0.3.3.jar.sha1new file mode 100644index 00000000000..3fd888f9294--- /dev/null+++ b/solr/licenses/mock-oauth2-server-0.3.3.jar.sha1@@ -0,0 +1 @@+79dee9cc305eb31ce4f95e02043ad0a39f0ab249diff --git a/solr/licenses/mock-oauth2-server-LICENSE-MIT.txt b/solr/licenses/mock-oauth2-server-LICENSE-MIT.txtnew file mode 100644index 00000000000..06960082e37--- /dev/null+++ b/solr/licenses/mock-oauth2-server-LICENSE-MIT.txt@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2018 NAV IKT++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.\ No newline at end of filediff --git a/solr/licenses/mockwebserver-4.9.1.jar.sha1 b/solr/licenses/mockwebserver-4.9.1.jar.sha1new file mode 100644index 00000000000..0d64f53737a--- /dev/null+++ b/solr/licenses/mockwebserver-4.9.1.jar.sha1@@ -0,0 +1 @@+25e7b8352606b61c6b66f93db3b1590c5588eecediff --git a/solr/licenses/mockwebserver-LICENSE-ASL.txt b/solr/licenses/mockwebserver-LICENSE-ASL.txtnew file mode 100644index 00000000000..d6456956733--- /dev/null+++ b/solr/licenses/mockwebserver-LICENSE-ASL.txt@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/mockwebserver-NOTICE.txt b/solr/licenses/mockwebserver-NOTICE.txtnew file mode 100644index 00000000000..d8bff2eefb0--- /dev/null+++ b/solr/licenses/mockwebserver-NOTICE.txt@@ -0,0 +1,13 @@+Copyright 2019 Square, Inc.++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.\ No newline at end of filediff --git a/solr/licenses/nimbus-jose-jwt-9.6.1.jar.sha1 b/solr/licenses/nimbus-jose-jwt-9.6.1.jar.sha1new file mode 100644index 00000000000..492333fdfbe--- /dev/null+++ b/solr/licenses/nimbus-jose-jwt-9.6.1.jar.sha1@@ -0,0 +1 @@+13973a67cdca487129e4012eec57fd22e51aa894diff --git a/solr/licenses/nimbus-jose-jwt-LICENSE-ASL.txt b/solr/licenses/nimbus-jose-jwt-LICENSE-ASL.txtnew file mode 100644index 00000000000..d6456956733--- /dev/null+++ b/solr/licenses/nimbus-jose-jwt-LICENSE-ASL.txt@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/nimbus-jose-jwt-NOTICE.txt b/solr/licenses/nimbus-jose-jwt-NOTICE.txtnew file mode 100644index 00000000000..29cdeb1fe11--- /dev/null+++ b/solr/licenses/nimbus-jose-jwt-NOTICE.txt@@ -0,0 +1,14 @@+Nimbus JOSE + JWT++Copyright 2012 - 2020, Connect2id Ltd.++Licensed under the Apache License, Version 2.0 (the "License"); you may not use+this file except in compliance with the License. You may obtain a copy of the+License at++ https://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software distributed+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR+CONDITIONS OF ANY KIND, either express or implied. See the License for the+specific language governing permissions and limitations under the License.diff --git a/solr/licenses/oauth2-oidc-sdk-9.2.3.jar.sha1 b/solr/licenses/oauth2-oidc-sdk-9.2.3.jar.sha1new file mode 100644index 00000000000..b79bf8d473c--- /dev/null+++ b/solr/licenses/oauth2-oidc-sdk-9.2.3.jar.sha1@@ -0,0 +1 @@+74fa6dbebede173028edb9a10b608f07ed11aff6diff --git a/solr/licenses/oauth2-oidc-sdk-LICENSE-ASL.txt b/solr/licenses/oauth2-oidc-sdk-LICENSE-ASL.txtnew file mode 100644index 00000000000..d6456956733--- /dev/null+++ b/solr/licenses/oauth2-oidc-sdk-LICENSE-ASL.txt@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/oauth2-oidc-sdk-NOTICE.txt b/solr/licenses/oauth2-oidc-sdk-NOTICE.txtnew file mode 100644index 00000000000..42e4fd73dc6--- /dev/null+++ b/solr/licenses/oauth2-oidc-sdk-NOTICE.txt@@ -0,0 +1,14 @@+Nimbus OAuth 2.0 SDK with OpenID Connect extensions++Copyright 2012-2021, Connect2id Ltd and contributors.++Licensed under the Apache License, Version 2.0 (the "License"); you may not use+this file except in compliance with the License. You may obtain a copy of the+License at++ https://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software distributed+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR+CONDITIONS OF ANY KIND, either express or implied. See the License for the+specific language governing permissions and limitations under the License.diff --git a/solr/licenses/okhttp-4.9.1.jar.sha1 b/solr/licenses/okhttp-4.9.1.jar.sha1new file mode 100644index 00000000000..5dd66636e5a--- /dev/null+++ b/solr/licenses/okhttp-4.9.1.jar.sha1@@ -0,0 +1 @@+51215279c3fe472c59b6b7dd7491e6ac2e28a81bdiff --git a/solr/licenses/okhttp-LICENSE-ASL.txt b/solr/licenses/okhttp-LICENSE-ASL.txtnew file mode 100644index 00000000000..d6456956733--- /dev/null+++ b/solr/licenses/okhttp-LICENSE-ASL.txt@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/okhttp-NOTICE.txt b/solr/licenses/okhttp-NOTICE.txtnew file mode 100644index 00000000000..d8bff2eefb0--- /dev/null+++ b/solr/licenses/okhttp-NOTICE.txt@@ -0,0 +1,13 @@+Copyright 2019 Square, Inc.++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.\ No newline at end of filediff --git a/solr/licenses/okio-LICENSE-ASL.txt b/solr/licenses/okio-LICENSE-ASL.txtnew file mode 100644index 00000000000..d6456956733--- /dev/null+++ b/solr/licenses/okio-LICENSE-ASL.txt@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/solr/licenses/okio-NOTICE.txt b/solr/licenses/okio-NOTICE.txtnew file mode 100644index 00000000000..d8bff2eefb0--- /dev/null+++ b/solr/licenses/okio-NOTICE.txt@@ -0,0 +1,13 @@+Copyright 2019 Square, Inc.++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.\ No newline at end of filediff --git a/solr/licenses/okio-jvm-2.8.0.jar.sha1 b/solr/licenses/okio-jvm-2.8.0.jar.sha1new file mode 100644index 00000000000..0da7abb64a8--- /dev/null+++ b/solr/licenses/okio-jvm-2.8.0.jar.sha1@@ -0,0 +1 @@+49b64e09d81c0cc84b267edd0c2fd7df5a64c78cdiff --git a/solr/server/etc/security.policy b/solr/server/etc/security.policyindex 51c6d3ba634..0fe982a5e89 100644--- a/solr/server/etc/security.policy+++ b/solr/server/etc/security.policy@@ -146,6 +146,9 @@ grant {permission java.security.SecurityPermission "putProviderProperty.SaslPlainServer";permission java.security.SecurityPermission "insertProvider";+ // Needed by JWT integration tests+ permission java.lang.RuntimePermission "setFactory";+permission javax.xml.bind.JAXBPermission "setDatatypeConverter";// SSL related properties for Solr testsdiff --git a/solr/solr-ref-guide/src/jwt-authentication-plugin.adoc b/solr/solr-ref-guide/src/jwt-authentication-plugin.adocindex f63dcf58f32..9ea6f30091d 100644--- a/solr/solr-ref-guide/src/jwt-authentication-plugin.adoc+++ b/solr/solr-ref-guide/src/jwt-authentication-plugin.adoc@@ -54,6 +54,8 @@ rolesClaim ; What claim id to pull user roles from. The claim must theclaimsMatch ; JSON object of claims (key) that must match a regular expression (value). Example: `{ "foo" : "A|B" }` will require the `foo` claim to be either "A" or "B". ;adminUiScope ; Define what scope is requested when logging in from Admin UI ; If not defined, the first scope from `scope` parameter is usedredirectUris ; Valid location(s) for redirect after external authentication. Takes a string or array of strings. Must be the base URL of Solr, e.g., https://solr1.example.com:8983/solr/ and must match the list of redirect URIs registered with the Identity Provider beforehand. ; Defaults to empty list, i.e., any node is assumed to be a valid redirect target.+trustedCerts ; One or more X.509 SSL certificates in plaintext PEM or PKCS#7 formats, that should be trusted when talking to IdPs. Newlines must be replaced with `\n`. See paragraph <<Trusting the IdP server>> for more about its usage. ; Defaults to Java truststore+trustedCertsFile ; Path to a file of type PEM, DER or PKCS#7, containing one or more X.509 SSL certificates that should be trusted when talking to IdPs. See paragraph <<Trusting the IdP server>> for more about its usage. ; Defaults to Java truststoreissuers ; List of issuers (Identity providers) to support. See section <<issuer-configuration,Issuer configuration>> for configuration syntax ;|===@@ -138,7 +140,8 @@ Let's look at a more complex configuration, this time with two issuers configure"wellKnownUrl": "https://example2.com/.well-known/oidc", <13>"aud": "https://example2.com/solr"}- ]+ ],+ "trustedCertsFile": "/path/to/certsFile.pem" <14>}}----@@ -157,13 +160,19 @@ Let's comment on this config:<10> Set the client id registered with Identity Provider<11> Configure the issuer id. Will be used for validating tokens. A token's 'iss' claim must match one of the configured issuer IDs.<12> Configure the audience claim. A token's 'aud' claim must match 'aud' for one of the configured issuers.-<13> This issuer is auto configured through discovery, so 'iss' and JWK settings are not required+<13> This issuer is auto-configured through discovery, so 'iss' and JWK settings are not required+<14> Provides SSL certificate(s) to trust IdP https communication.=== Using non-SSL URLsIn production environments you should always use SSL protected HTTPS connections, otherwise you open yourself up to attacks.However, in development, it may be useful to use regular HTTP URLs, and bypass the security check that Solr performs.To support this you can set the environment variable `-Dsolr.auth.jwt.allowOutboundHttp=true` at startup.+=== Trusting the IdP server+All communication with the Oauth2 server (IdP) is done over HTTPS. By default, Java's built-in TrustStore is used. However, by configuring one of the options `trustedCertsFile` or `trustedCerts`, the plugin will *instead* trust the set of certificates provided, not any certificate signed by a root CA. This is both more secure and also lets you trust self-signed certificates. It also has the benefit of working even if Solr is not started in SSL mode.++Please configure either the `trustedCerts` or `trustedCertsFile` option. Configuring both will cause an error.+== Editing JWT Authentication Plugin ConfigurationAll properties mentioned above can be set or changed using the <<basic-authentication-plugin.adoc#editing-basic-authentication-plugin-configuration,Authentication API>>. You can thus start with a simple configuration with only `class` and `blockUnknown=false` configured and then configure the rest using the API.diff --git a/versions.lock b/versions.lockindex e36b6cb186e..7eb859b37c2 100644--- a/versions.lock+++ b/versions.lock@@ -5,10 +5,10 @@ com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.7.6 (1 constraintscom.cybozu.labs:langdetect:1.1-20120112 (1 constraints: 5c066d5e)com.drewnoakes:metadata-extractor:2.11.0 (1 constraints: 3605323b)com.epam:parso:2.0.11 (1 constraints: 36052c3b)-com.fasterxml.jackson:jackson-bom:2.12.2 (4 constraints: af4ff7ca)-com.fasterxml.jackson.core:jackson-annotations:2.12.2 (2 constraints: 3d21b193)+com.fasterxml.jackson:jackson-bom:2.12.2 (5 constraints: 1f65043a)+com.fasterxml.jackson.core:jackson-annotations:2.12.2 (3 constraints: ad36611f)com.fasterxml.jackson.core:jackson-core:2.12.2 (4 constraints: 8a49beea)-com.fasterxml.jackson.core:jackson-databind:2.12.2 (4 constraints: 6d36e93c)+com.fasterxml.jackson.core:jackson-databind:2.12.2 (6 constraints: c95a8c6a)com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.12.2 (2 constraints: ec13c881)com.github.ben-manes.caffeine:caffeine:2.8.4 (1 constraints: 10051136)com.github.virtuald:curvesapi:1.06 (1 constraints: db04f530)@@ -219,7 +219,7 @@ org.gagravarr:vorbis-java-tika:0.8 (1 constraints: ac041f2c)org.hamcrest:hamcrest:2.2 (1 constraints: 5e104998)org.jdom:jdom2:2.0.6 (1 constraints: 0a05fb35)org.locationtech.spatial4j:spatial4j:0.7 (1 constraints: 58105398)-org.ow2.asm:asm:7.2 (2 constraints: 4e19d5db)+org.ow2.asm:asm:7.2 (3 constraints: a325a35c)org.ow2.asm:asm-commons:7.2 (1 constraints: 6b0f7267)org.slf4j:jcl-over-slf4j:1.7.24 (1 constraints: 4005473b)org.slf4j:slf4j-api:1.7.24 (14 constraints: c8af2e3b)@@ -232,12 +232,14 @@ xerces:xercesImpl:2.12.0 (1 constraints: 3705353b)[Test dependencies]com.beust:jcommander:1.35 (1 constraints: b50c1901)+com.fasterxml.jackson.module:jackson-module-kotlin:2.12.2 (2 constraints: a31da45f)com.github.jnr:jffi:1.2.18 (1 constraints: b20902ab)com.github.jnr:jnr-constants:0.9.12 (4 constraints: ed2c9d5d)com.github.jnr:jnr-enxio:0.19 (2 constraints: 2a167d08)com.github.jnr:jnr-netdb:1.1.6 (1 constraints: 7e0952a1)com.github.jnr:jnr-posix:3.0.49 (2 constraints: f0161b5b)com.github.jnr:jnr-unixsocket:0.20 (1 constraints: 4a09d497)+com.github.stephenc.jcip:jcip-annotations:1.0-1 (2 constraints: c5188bde)com.google.cloud:google-cloud-nio:0.122.11 (1 constraints: 99053046)com.headius:backport9:1.1 (1 constraints: 1a098c8e)com.headius:invokebinder:1.11 (1 constraints: 4b09d797)@@ -245,11 +247,23 @@ com.headius:modulator:1.0 (1 constraints: 19098b8e)com.headius:options:1.4 (1 constraints: 1d098f8e)com.jcraft:jzlib:1.1.3 (1 constraints: 7b094fa1)com.martiansoftware:nailgun-server:0.9.1 (1 constraints: 800960a1)+com.nimbusds:content-type:2.1 (1 constraints: d70b67eb)+com.nimbusds:lang-tag:1.4.4 (1 constraints: 3b0cb803)+com.nimbusds:nimbus-jose-jwt:9.6.1 (1 constraints: 420ce303)+com.nimbusds:oauth2-oidc-sdk:9.2.3 (1 constraints: c40ec362)+com.squareup.okhttp3:mockwebserver:4.9.1 (1 constraints: c40ebd62)+com.squareup.okhttp3:okhttp:4.9.1 (1 constraints: 3d0f4f6d)+com.squareup.okio:okio:2.8.0 (1 constraints: 540c39fd)com.sun.jersey:jersey-servlet:1.19 (1 constraints: df04fa30)com.vaadin.external.google:android-json:0.0.20131108.vaadin1 (1 constraints: 34092a9e)+io.github.microutils:kotlin-logging:2.0.6 (1 constraints: be0e9d62)+io.github.microutils:kotlin-logging-jvm:2.0.6 (1 constraints: 810f877c)javax.inject:javax.inject:1 (1 constraints: 7a0df617)joda-time:joda-time:2.9.9 (1 constraints: 8a0972a1)net.bytebuddy:byte-buddy:1.10.20 (2 constraints: 7c10a9d0)+net.minidev:accessors-smart:1.2 (1 constraints: e60926a4)+net.minidev:json-smart:2.3 (1 constraints: ae0de552)+no.nav.security:mock-oauth2-server:0.3.3 (1 constraints: 0805f735)org.apache.hadoop:hadoop-hdfs:3.2.0 (1 constraints: 07050036)org.apache.hadoop:hadoop-minikdc:3.2.0 (1 constraints: 07050036)org.apache.kerby:kerb-admin:1.0.1 (1 constraints: 0405f135)@@ -262,7 +276,14 @@ org.apache.kerby:kerby-kdc:1.0.1 (1 constraints: 0405f135)org.apache.logging.log4j:log4j-1.2-api:2.13.2 (1 constraints: 3a053a3b)org.asciidoctor:asciidoctorj:1.6.2 (1 constraints: 0b050436)org.asciidoctor:asciidoctorj-api:1.6.2 (1 constraints: e30cfb0d)+org.freemarker:freemarker:2.3.31 (1 constraints: ef0e9271)org.hsqldb:hsqldb:2.4.0 (1 constraints: 08050136)+org.jetbrains:annotations:13.0 (1 constraints: df0e795c)+org.jetbrains.kotlin:kotlin-reflect:1.4.32 (2 constraints: 612453e2)+org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (7 constraints: 4168b6de)+org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32 (3 constraints: b92a7abb)+org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.10 (1 constraints: dd10ebd2)+org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.10 (1 constraints: 650f967c)org.jruby:dirgra:0.3 (1 constraints: 1b098b8e)org.jruby:jruby:9.2.6.0 (1 constraints: 490d7d28)org.jruby:jruby-core:9.2.6.0 (1 constraints: 0f08b57d)diff --git a/versions.props b/versions.propsindex 6d4c730e2e1..6a74a68ed59 100644--- a/versions.props+++ b/versions.props@@ -66,6 +66,7 @@ net.bytebuddy:byte-buddy=1.9.3net.hydromatic:eigenbase-properties=1.1.5net.sourceforge.argparse4j:argparse4j=0.8.1net.thisptr:jackson-jq=0.0.8+no.nav.security:mock-oauth2-server=0.3.3org.antlr:antlr4-runtime=4.5.1-1org.apache.calcite.avatica:avatica-core=1.13.0org.apache.calcite:*=1.18.0