use of org.apache.twill.filesystem.LocalLocationFactory in project cdap by caskdata.
the class AuthorizationTestBase method setup.
@BeforeClass
public static void setup() throws IOException {
CCONF.set(Constants.CFG_LOCAL_DATA_DIR, TEMPORARY_FOLDER.newFolder().getAbsolutePath());
CCONF.setBoolean(Constants.Security.ENABLED, true);
CCONF.setBoolean(Constants.Security.Authorization.ENABLED, true);
locationFactory = new LocalLocationFactory(TEMPORARY_FOLDER.newFolder());
}
Aggregations