Mercurial > lada > lada-server
view src/main/java/de/intevation/lada/authentication/Authentication.java @ 210:a305412206a3
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 11:55:28 +0200 |
parents | a43caf307a98 |
children | d9d1a46af55d |
line wrap: on
line source
package de.intevation.lada.authentication; import javax.ws.rs.core.HttpHeaders; /** * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> */ public interface Authentication { public boolean isAuthorizedUser(HttpHeaders headers) throws AuthenticationException; public AuthenticationResponse authorizedGroups(HttpHeaders headers) throws AuthenticationException; public boolean hasAccess(HttpHeaders headers, String probeId) throws AuthenticationException; public boolean isReadOnly(HttpHeaders headers, String probeId) throws AuthenticationException; }