LOG.debug("Authorization is disabled. Authorization can be enabled by setting " + Constants.Security.Authorization.ENABLED + " to true."); authorizer = new NoOpAuthorizer(); return authorizer; Constants.Security.Authorization.ENABLED + " to true and authentication, by setting " + Constants.Security.ENABLED + "to true."); authorizer = new NoOpAuthorizer(); return authorizer;
LineageWriterDatasetFramework lineageFramework = new LineageWriterDatasetFramework(framework, new NoOpLineageWriter(), new NoOpUsageRegistry(), new AuthenticationTestContext(), new NoOpAuthorizer()); lineageFramework.setContext(new TestProgramContext(runId)); lineageFramework.setAuditPublisher(inMemoryAuditPublisher);