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

more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b82349f2 KNOX-3050 - Add PATCH support for extauthz endpoint (#1051)
9b82349f2 is described below

commit 9b82349f298b251969b07e8a6ccf3c3207b28870
Author: Sandeep MorĂ© <[email protected]>
AuthorDate: Fri May 30 15:24:26 2025 -0400

    KNOX-3050 - Add PATCH support for extauthz endpoint (#1051)
---
 .../apache/knox/gateway/service/auth/ExtAuthzResource.java  | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git 
a/gateway-service-auth/src/main/java/org/apache/knox/gateway/service/auth/ExtAuthzResource.java
 
b/gateway-service-auth/src/main/java/org/apache/knox/gateway/service/auth/ExtAuthzResource.java
index 883e0f51f..5cd90e01e 100644
--- 
a/gateway-service-auth/src/main/java/org/apache/knox/gateway/service/auth/ExtAuthzResource.java
+++ 
b/gateway-service-auth/src/main/java/org/apache/knox/gateway/service/auth/ExtAuthzResource.java
@@ -95,6 +95,11 @@ public class ExtAuthzResource extends AbstractAuthResource {
     return doGetImpl();
   }
 
+  @PATCH
+  public Response doPatchWithPath() {
+    return doGetImpl();
+  }
+
   /*
    * This method will handle additional paths.
    * Currently, if there are any additional paths they are ignored.
@@ -140,4 +145,10 @@ public class ExtAuthzResource extends AbstractAuthResource 
{
     return doGetWithPath(ui);
   }
 
-}
\ No newline at end of file
+  @Path("{subResources: .*}")
+  @PATCH
+  public Response doPatchWithPath(@Context UriInfo ui) {
+    return doGetWithPath(ui);
+  }
+
+}

Reply via email to