Commit eb82ef9b by nixonrodrigues Committed by apoorvnaik

ATLAS-2009 : Fix in AuthorizationFilter, added return for unauthorized request.

Change-Id: I5b009eebec80f32666b8042bbb59a1089872f3d9 Signed-off-by: 's avatarapoorvnaik <apoorvnaik@apache.org>
parent 668b4347
...@@ -167,8 +167,8 @@ public class AtlasAuthorizationFilter extends GenericFilterBean { ...@@ -167,8 +167,8 @@ public class AtlasAuthorizationFilter extends GenericFilterBean {
if (isDebugEnabled) { if (isDebugEnabled) {
LOG.debug("You are not authorized for {} on {} : {}\nReturning 403 since the access is blocked update!!!!", atlasRequest.getAction().name(), atlasResourceTypes, atlasRequest.getResource()); LOG.debug("You are not authorized for {} on {} : {}\nReturning 403 since the access is blocked update!!!!", atlasRequest.getAction().name(), atlasResourceTypes, atlasRequest.getResource());
} }
return;
} }
} else { } else {
if (isDebugEnabled) { if (isDebugEnabled) {
LOG.debug("Ignoring request {}", pathInfo); LOG.debug("Ignoring request {}", pathInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment