[
https://issues.apache.org/jira/browse/KNOX-2710?focusedWorklogId=738336&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-738336
]
ASF GitHub Bot logged work on KNOX-2710:
----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Mar/22 21:05
Start Date: 08/Mar/22 21:05
Worklog Time Spent: 10m
Work Description: pzampino commented on a change in pull request #544:
URL: https://github.com/apache/knox/pull/544#discussion_r822052638
##########
File path:
gateway-provider-identity-assertion-no-doas/src/main/java/org/apache/knox/gateway/identityasserter/filter/IdentityAsserterNoDoAsHttpServletRequestWrapper.java
##########
@@ -0,0 +1,64 @@
+/*
+ * 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.
+ */
+package org.apache.knox.gateway.identityasserter.filter;
+
+import
org.apache.knox.gateway.identityasserter.common.filter.IdentityAsserterHttpServletRequestWrapper;
+import javax.servlet.http.HttpServletRequest;
+import java.io.UnsupportedEncodingException;
+import java.nio.charset.Charset;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+
+public class IdentityAsserterNoDoAsHttpServletRequestWrapper extends
Review comment:
I would prefer the use of "impersonation" rather than "DoAs" in naming
throughout this change. For example, I would name this class
`IdentityAsserterNoImpersonationHttpServletRequestWrapper`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 738336)
Time Spent: 0.5h (was: 20m)
> Identity assertion provider for services without doAs support
> -------------------------------------------------------------
>
> Key: KNOX-2710
> URL: https://issues.apache.org/jira/browse/KNOX-2710
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> There might be services (e.g. RStudio) which do not support trusted proxy and
> that might break with the doAs parameter at the end of the URL. We need to be
> able to implement an identity assertion provider that can skip doAs and which
> is configurable.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)