Mercurial > lada > lada-server
view src/main/java/de/intevation/lada/util/auth/Authentication.java @ 1292:588f6deae24a
Fix authorization for OrtszuordnungMp and friends.
Setting readonly equal to owner implied an owner cannot edit its own
objects. That was probably not intended. As many of the conditionals
actually evaluated to doing nothing, those were removed.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 08 Feb 2017 19:56:01 +0100 |
parents | 3ec358698b4d |
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 javax.ws.rs.core.HttpHeaders; /** * Interface for the authentication mechanism. * * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> */ public interface Authentication { public boolean isAuthenticated(HttpHeaders headers); }