protected void checkCache(PermissionType type, String name) throws DataLoadFailedException {
        if (cache.get(type) == null || cache.get(type).get(name.toLowerCase()) == null) {
            load(type, name);
        }
    }