docs: @Override
      public IAuthorizationPrincipal getPrincipal(IPermission permission)
              throws AuthorizationException {
          String principalString = permission.getPrincipal();
          int idx = principalString.indexOf(PRINCIPAL_SEPARATOR);
          Integer typeId = Integer.valueOf(principalString.substring(0, idx));
          Class type = EntityTypesLocator.getEntityTypes().getEntityTypeFromID(typeId);
          String key = principalString.substring(idx + 1);
          return newPrincipal(key, type);
      }