@Test
  public void testRoot() throws Exception {
    securityService.login(loginCredentials("root", "secret"));
    securityService.authorize(TestCommand.none);
    securityService.authorize(TestCommand.everyOneAllowed);
    securityService.authorize(ResourcePermissions.DATA_READ);
    securityService.authorize(ResourcePermissions.DATA_WRITE);
    securityService.authorize(TestCommand.regionARead);
    securityService.authorize(TestCommand.regionAWrite);
    securityService.authorize(ResourcePermissions.CLUSTER_WRITE);
    securityService.authorize(ResourcePermissions.CLUSTER_READ);
  }
Integration tests for SecurityService using shiro.ini
geode-core/src/integrationTest/java/org/apache/geode/management/internal/security/SecurityServiceWithShiroIniIntegrationTest.java