You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by mo...@apache.org on 2022/02/17 19:51:23 UTC
[knox] branch master updated: KNOX-2708 - HeaderPreAuthFederationDispatch should extend ConfigurableDispatch (#538)
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 197e92a KNOX-2708 - HeaderPreAuthFederationDispatch should extend ConfigurableDispatch (#538)
197e92a is described below
commit 197e92a7b8be6d3de0fbfeab8c45c10507edd0d3
Author: Sandeep Moré <mo...@gmail.com>
AuthorDate: Thu Feb 17 14:51:18 2022 -0500
KNOX-2708 - HeaderPreAuthFederationDispatch should extend ConfigurableDispatch (#538)
---
.../apache/knox/gateway/dispatch/HeaderPreAuthFederationDispatch.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gateway-spi/src/main/java/org/apache/knox/gateway/dispatch/HeaderPreAuthFederationDispatch.java b/gateway-spi/src/main/java/org/apache/knox/gateway/dispatch/HeaderPreAuthFederationDispatch.java
index 8ec1c83..98799e0 100644
--- a/gateway-spi/src/main/java/org/apache/knox/gateway/dispatch/HeaderPreAuthFederationDispatch.java
+++ b/gateway-spi/src/main/java/org/apache/knox/gateway/dispatch/HeaderPreAuthFederationDispatch.java
@@ -38,7 +38,7 @@ import java.security.Principal;
*
* @since 1.1.0
*/
-public class HeaderPreAuthFederationDispatch extends DefaultDispatch {
+public class HeaderPreAuthFederationDispatch extends ConfigurableDispatch {
String headerName = "SM_USER";
@@ -69,6 +69,4 @@ public class HeaderPreAuthFederationDispatch extends DefaultDispatch {
final HttpResponse inboundResponse = executeOutboundRequest(outboundRequest);
writeOutboundResponse(outboundRequest, inboundRequest, outboundResponse, inboundResponse);
}
-
-
}