pareshddevalia commented on code in PR #397:
URL: https://github.com/apache/atlas/pull/397#discussion_r2218399019
##########
webapp/src/main/java/org/apache/atlas/web/filters/AtlasKnoxSSOAuthenticationFilter.java:
##########
@@ -163,17 +171,12 @@ public void init(FilterConfig filterConfig) throws
ServletException {
*/
@Override
public void doFilter(ServletRequest servletRequest, ServletResponse
servletResponse, FilterChain filterChain) throws IOException, ServletException {
+ setSsoEnabled(false);
HttpServletResponse httpResponse = (HttpServletResponse)
servletResponse;
AtlasResponseRequestWrapper responseWrapper = new
AtlasResponseRequestWrapper(httpResponse);
HeadersUtil.setSecurityHeaders(responseWrapper);
- if (!ssoEnabled) {
- filterChain.doFilter(servletRequest, servletResponse);
-
- return;
- }
-
HttpServletRequest httpRequest = (HttpServletRequest) servletRequest;
if (LOG.isDebugEnabled()) {
Review Comment:
remove if (LOG.isDebugEnabled()) { condition
--
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]