This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 2759391c6b3 SOLR-16325: JWT module Javadoc split package issue on 
JDK16+ (#964)
2759391c6b3 is described below

commit 2759391c6b34f1ae40986dd2c98a94c9e285aa02
Author: Kevin Risden <[email protected]>
AuthorDate: Fri Aug 5 14:39:14 2022 -0400

    SOLR-16325: JWT module Javadoc split package issue on JDK16+ (#964)
    
    Co-authored-by: Jason Gerlowski <[email protected]>
---
 .../org/apache/solr/security/jwt/JWTAuthPlugin.java   |  2 +-
 .../security/jwt}/api/JWTConfigurationPayload.java    |  4 ++--
 .../jwt}/api/ModifyJWTAuthPluginConfigAPI.java        |  4 ++--
 .../admin => security/jwt}/api/package-info.java      |  5 +++--
 .../jwt}/api/V2JWTSecurityApiMappingTest.java         |  4 ++--
 .../admin => security/jwt}/api/package-info.java      |  4 ++--
 .../apache/solr/handler/admin/api/package-info.java   | 19 -------------------
 7 files changed, 12 insertions(+), 30 deletions(-)

diff --git 
a/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/JWTAuthPlugin.java
 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/JWTAuthPlugin.java
index e5d42ca8f81..aa13b44e293 100644
--- 
a/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/JWTAuthPlugin.java
+++ 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/JWTAuthPlugin.java
@@ -59,10 +59,10 @@ 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.handler.admin.api.ModifyJWTAuthPluginConfigAPI;
 import org.apache.solr.security.AuthenticationPlugin;
 import org.apache.solr.security.ConfigEditablePlugin;
 import 
org.apache.solr.security.jwt.JWTAuthPlugin.JWTAuthenticationResponse.AuthCode;
+import org.apache.solr.security.jwt.api.ModifyJWTAuthPluginConfigAPI;
 import org.apache.solr.util.CryptoKeys;
 import org.eclipse.jetty.client.api.Request;
 import org.jose4j.jwa.AlgorithmConstraints;
diff --git 
a/solr/solrj/src/java/org/apache/solr/handler/admin/api/JWTConfigurationPayload.java
 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/JWTConfigurationPayload.java
similarity index 96%
rename from 
solr/solrj/src/java/org/apache/solr/handler/admin/api/JWTConfigurationPayload.java
rename to 
solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/JWTConfigurationPayload.java
index 07f1c63bd80..3a042e8a668 100644
--- 
a/solr/solrj/src/java/org/apache/solr/handler/admin/api/JWTConfigurationPayload.java
+++ 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/JWTConfigurationPayload.java
@@ -6,7 +6,7 @@
  * (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
+ *      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,
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.solr.handler.admin.api;
+package org.apache.solr.security.jwt.api;
 
 import java.util.List;
 import java.util.Map;
diff --git 
a/solr/modules/jwt-auth/src/java/org/apache/solr/handler/admin/api/ModifyJWTAuthPluginConfigAPI.java
 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/ModifyJWTAuthPluginConfigAPI.java
similarity index 94%
rename from 
solr/modules/jwt-auth/src/java/org/apache/solr/handler/admin/api/ModifyJWTAuthPluginConfigAPI.java
rename to 
solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/ModifyJWTAuthPluginConfigAPI.java
index ea24208c66e..7fc21646220 100644
--- 
a/solr/modules/jwt-auth/src/java/org/apache/solr/handler/admin/api/ModifyJWTAuthPluginConfigAPI.java
+++ 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/ModifyJWTAuthPluginConfigAPI.java
@@ -6,7 +6,7 @@
  * (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
+ *      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,
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.solr.handler.admin.api;
+package org.apache.solr.security.jwt.api;
 
 import static org.apache.solr.client.solrj.SolrRequest.METHOD.POST;
 import static 
org.apache.solr.security.PermissionNameProvider.Name.SECURITY_EDIT_PERM;
diff --git 
a/solr/modules/jwt-auth/src/java/org/apache/solr/handler/admin/api/package-info.java
 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/package-info.java
similarity index 89%
rename from 
solr/modules/jwt-auth/src/java/org/apache/solr/handler/admin/api/package-info.java
rename to 
solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/package-info.java
index f16f5f29a4e..bdc1413d469 100644
--- 
a/solr/modules/jwt-auth/src/java/org/apache/solr/handler/admin/api/package-info.java
+++ 
b/solr/modules/jwt-auth/src/java/org/apache/solr/security/jwt/api/package-info.java
@@ -6,7 +6,7 @@
  * (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
+ *      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,
@@ -14,5 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 /** API endpoint and associated files for the JWT Authentication Plugin */
-package org.apache.solr.handler.admin.api;
+package org.apache.solr.security.jwt.api;
diff --git 
a/solr/modules/jwt-auth/src/test/org/apache/solr/handler/admin/api/V2JWTSecurityApiMappingTest.java
 
b/solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/api/V2JWTSecurityApiMappingTest.java
similarity index 95%
rename from 
solr/modules/jwt-auth/src/test/org/apache/solr/handler/admin/api/V2JWTSecurityApiMappingTest.java
rename to 
solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/api/V2JWTSecurityApiMappingTest.java
index 252f8b9f953..8c55dbfcb9c 100644
--- 
a/solr/modules/jwt-auth/src/test/org/apache/solr/handler/admin/api/V2JWTSecurityApiMappingTest.java
+++ 
b/solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/api/V2JWTSecurityApiMappingTest.java
@@ -6,7 +6,7 @@
  * (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
+ *      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,
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.solr.handler.admin.api;
+package org.apache.solr.security.jwt.api;
 
 import java.util.HashMap;
 import org.apache.solr.SolrTestCaseJ4;
diff --git 
a/solr/modules/jwt-auth/src/test/org/apache/solr/handler/admin/api/package-info.java
 
b/solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/api/package-info.java
similarity index 89%
rename from 
solr/modules/jwt-auth/src/test/org/apache/solr/handler/admin/api/package-info.java
rename to 
solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/api/package-info.java
index 563aabcd128..8705daf787a 100644
--- 
a/solr/modules/jwt-auth/src/test/org/apache/solr/handler/admin/api/package-info.java
+++ 
b/solr/modules/jwt-auth/src/test/org/apache/solr/security/jwt/api/package-info.java
@@ -6,7 +6,7 @@
  * (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
+ *      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,
@@ -16,4 +16,4 @@
  */
 
 /** Tests for the API(s) bundled with the jwt-auth module. */
-package org.apache.solr.handler.admin.api;
+package org.apache.solr.security.jwt.api;
diff --git 
a/solr/solrj/src/java/org/apache/solr/handler/admin/api/package-info.java 
b/solr/solrj/src/java/org/apache/solr/handler/admin/api/package-info.java
deleted file mode 100644
index 993c5b4c4ed..00000000000
--- a/solr/solrj/src/java/org/apache/solr/handler/admin/api/package-info.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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.
- */
-
-/** Payload implementations for APIs associated with the jwt-auth optional 
module */
-package org.apache.solr.handler.admin.api;

Reply via email to