AuthorizationSession { boolean isAuthorized() { boolean allowed = false; if (_result == null) { String message = String.format("Internal error: _result was null! Returning false."); LOG.error(message); } else { allowed = _result.getIsAllowed(); } if (!allowed && _superUser) { if (LOG.isDebugEnabled()) { LOG.debug("User [" + _user + "] is a superUser! Overriding policy engine's decision. Request is deemed authorized!"); } allowed = true; } return allowed; } AuthorizationSession(RangerBasePlugin authorizer);   }
@Test public void testIsAuthorized() { }