view src/main/java/de/intevation/lada/util/auth/Authorizer.java @ 849:d0a591b3eade

Added missing file header.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 27 Jan 2016 15:32:49 +0100
parents fa922101a462
children
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out
 * the documentation coming with IMIS-Labordaten-Application for details.
 */
package de.intevation.lada.util.auth;

import de.intevation.lada.util.rest.RequestMethod;
import de.intevation.lada.util.rest.Response;

public interface Authorizer {

    public <T> boolean isAuthorized(
        Object data,
        RequestMethod method,
        UserInfo userInfo,
        Class<T> clazz);

    public <T> Response filter(
        Response data,
        UserInfo userInfo,
        Class<T> clazz);
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)