}
};
SecurityContextHolder.setContext(context);
File cwd = new File(".");
AuthorizationSPI authProvider = new JsonFileAuthorizationFactory().create(new URL("file://" + cwd.getAbsolutePath() + "/src/test/resources/jsonAuthfile.json"));
assertTrue(Arrays.equals(new String[] {"1","2","3"},authProvider.getAuthorizations()));
}