view src/main/java/de/intevation/lada/authentication/Authentication.java @ 204:a43caf307a98

Extended authentication interface and implementaion.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 02 Jul 2013 13:09:09 +0200
parents cfa61bb7a86f
children a305412206a3
line wrap: on
line source
package de.intevation.lada.authentication;

import javax.ws.rs.core.HttpHeaders;

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;
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)