From f84590884135eed18be51ec5e4ccb37da3f00b38 Mon Sep 17 00:00:00 2001 From: pavel-stastny Date: Fri, 15 Sep 2023 08:44:33 +0200 Subject: [PATCH] Criteria lists --- .../security/utils/LicensesCriteriaList.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 shared/common/src/main/java/cz/incad/kramerius/security/utils/LicensesCriteriaList.java diff --git a/shared/common/src/main/java/cz/incad/kramerius/security/utils/LicensesCriteriaList.java b/shared/common/src/main/java/cz/incad/kramerius/security/utils/LicensesCriteriaList.java new file mode 100644 index 000000000..4255eee07 --- /dev/null +++ b/shared/common/src/main/java/cz/incad/kramerius/security/utils/LicensesCriteriaList.java @@ -0,0 +1,38 @@ +/* + * Copyright (C) Sep 14, 2023 Pavel Stastny + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package cz.incad.kramerius.security.utils; + +import java.util.Arrays; +import java.util.List; + +import cz.incad.kramerius.security.impl.criteria.Licenses; +import cz.incad.kramerius.security.impl.criteria.LicensesGEOIPFiltered; +import cz.incad.kramerius.security.impl.criteria.LicensesIPFiltered; +import cz.incad.kramerius.security.impl.criteria.ReadDNNTLabels; +import cz.incad.kramerius.security.impl.criteria.ReadDNNTLabelsIPFiltered; + +public class LicensesCriteriaList { + + + public static List NAMES = Arrays.asList( + ReadDNNTLabels.class.getName(), + ReadDNNTLabelsIPFiltered.class.getName(), + Licenses.class.getName(), + LicensesIPFiltered.class.getName(), + LicensesGEOIPFiltered.class.getName() + ); +}